A quick reference of your error message via Google seems to suggest that the error message is usually associated with forums or blogs. Each suggested fix is unique and commensurate with the type of coding the forum or blog uses. In this case, it involves the PHP language and seems to be image related. This doesn't preclude the possibility that it might be something peculiar to your PC, it's operating system or your system specs, none of which are noted in any of your posts.
Unfortunately, I don't know of a specific fix for you but maybe another member does. Either way, good luck.