• Running on Ubuntu 14.10. Installed phantomjs and cleancss via Ubuntu repositories and changed the path in AboveTheFold settings accordingly (/usr/bin/phantomjs /usr/bin/cleancss). Executing either “Generate Critical CSS” or “Generate CLI Command” results in the following error shown in the WordPress display:

    Above The Fold: Extracted CSS for URL http://amfes.com/ returned an invalid response. Please contact the administrator of the plugin.

    Nothing appears to be logged.

    https://wordpress.org/plugins/above-the-fold-optimization/

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

    (@optimalisatie)

    My apologies for the late reply.

    The error means that the decoding of JSON failed. This may be caused by PHP configuration.

    The following code is causing the error:

    $data = @json_decode($data,true);

    Did you resolve the issue?

Viewing 1 replies (of 1 total)
  • The topic ‘Server-side generator returned an invalid response’ is closed to new replies.