• Hi Matt,

    First of all, I love your plugins ??

    But now I had an issue (version installed : 2.0.3 / WordPress 4.7.5 / Php 7.0).

    I have this call to an undefined method in the file class-GPI-Core.php: GuzzleHttp\Exception\RequestException::getErrors()

    Do you have any advice/workaround for this problem ?

    Thanks,
    Vincent

    Full stack trace:
    [04-Aug-2017 11:37:47 UTC] PHP Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Exception\RequestException::getErrors() in /www/wp-content/plugins/google-pagespeed-insights/classes/class-GPI-Core.php:738
    Stack trace:
    #0 /www/wp-content/plugins/google-pagespeed-insights/classes/class-GPI-Core.php(339): GPI_Core->exception_handler(Object(GuzzleHttp\Exception\RequestException), ‘desktop’, false, ‘post’, ‘object_id’, 17064, ‘https://www.mad…’)
    #1 /www/wp-content/plugins/google-pagespeed-insights/classes/class-GPI-Core.php(229): GPI_Core->get_result(Object(Google_Service_Pagespeedonline), ‘desktop’, ‘post’, Array, ‘86400’, false)
    #2 /www/wp-content/plugins/google-pagespeed-insights/classes/class-GPI-Core.php(140): GPI_Core->worker(Array, ‘desktop’, false, false)
    #3 /www/wp-content/plugins/google-pagespeed-insights/classes/class-GPI-Core.php(60): GPI_Core->googlepagespeedinsightsworker(Array, false, false)
    #4 /www/wp-includes/class-wp-hook.php(298): GP in /www/wp-content/plugins/google-pagespeed-insights/classes/class-GPI-Core.php on line 738

Viewing 1 replies (of 1 total)
  • Plugin Author Matt Keys

    (@mattkeys)

    Hi Thorovi,

    Two things seem to be going on.

    1) There was an error while trying to check one of your sites pages (a post with post ID 17064).

    2) While trying to log the error, the plugin experienced a fatal error. It looks like it is calling getErrors() which does not exist, and should probably be calling getMessage().

    I’d like to take a closer look at this to get it resolved in a future update to the plugin. Are you able to provide me temporary admin access to your site so I can check it out? If so, you can send me the access to my sites contact form.

    Thanks,

    Matt

Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught exception’ is closed to new replies.