• Resolved pegadasnaestrada

    (@pegadasnaestrada)


    Hi,

    I’ve just installed the plugin but when I click on “Please register or provide an API key to start compressing images” I am redirected to the field “TinyPNG account”, where I got the following error message:

    Fatal error: Call to a member function can_create_key() on a non-object in /home/storage/2/a2/a6/pegadasnaestrada/public_html/wp-content/plugins/tiny-compress-images/src/class-tiny-settings.php on line 595

    I also got two error message in the top of the screen:

    Compress JPEG & PNG images: You are using an outdated platform (PHP 5.2.17 with curl 7.15.5) – some features are disabled
    Compress JPEG & PNG images: No HTTP client is available (cURL or fopen)

Viewing 1 replies (of 1 total)
  • Plugin Author TinyPNG

    (@tinypng)

    Hi pegadasnaestrada,

    Our WordPress plugin requires either cURL or fopen to be available on your system in order to use our API service to compress images. In your case, since you’re using a very old PHP version, we only support fopen for communicating with our API. We check for ‘allow_url_fopen’ setting, which seems to not be enabled for you. To solve this you should therefore enable it, or have your hosting party enable it.

    I hope that helps you. Have a nice day!

    Kind regards,
    George the Panda

Viewing 1 replies (of 1 total)
  • The topic ‘Can’t register or provide API key’ is closed to new replies.