Support » Plugin: PageSpeed Ninja » Searchconsole Error 5xx and PageSpeed can’t check the site anymore

  • Resolved ohrpheus

    (@ohrpheus)


    Hi all,

    about 3 weeks ago I have installed the plugin and made some adjustments, so the site was fast and fully loaded and optical OK. During these adjustments I frequently checked the site with Google PageSpeed. The Plugin made really exact forecasts and the tweaking is really cool. At the End PageSpeed couldn’t process the site anymore. Either the progressbar loaded till death or after 80-90% it quits with an meaningless errormessage. But I didn’t care a lot – I didn’t have the PageSpeed, but the Site loaded completely and fast. It was all fine (I thought).

    Today I went to the Searchconsole and had 137 Errors (“5xx”) in the “Coverage”-Section (before that 0 Errors). BAM! I loaded the corresponded site – they loaded as expected, no Server-Error 500 or such. When I checked it via the SearchConsole’s Live-Test: Error 5xx it isn’t indexable. Then I switched off the Plugin and made the Live-Test again – all ok!

    We are kicked down in the SERPs, too or better: of course.

    What could that be?

    Thanks for help!

    Michael

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Denis Ryabov

    (@dryabov)

    In the case of 5xx error, first of all it’s necessary to check error_log file for details about the server-side error. What error messages do you have there?

    I downloaded the Server-Log from 2019-12-18-2019-12-31 and there are many Error 500 for the googlebot. For me the informations in the logs are a bit mumbo-jumbo 😉 What can I do with it? It seems that the Error occurs mainly for mobile Browsers:

    ohrpheus.de anon-66-249-67-196.googlebot.com – – [27/Dec/2019:03:12:48 +0100] “GET /ohrpheus-aktuell/oticon-opn-hoergeraet-statement-gero-fuldner/ HTTP/1.1” 500 10814 “-” “Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”

    ohrpheus.de anon-66-249-66-253.googlebot.com – – [31/Dec/2019:13:51:10 +0100] “GET /aktuelle-hoergeraete/hoergeraete-und-hoerakustik-hersteller-aus-unserem-programm/ HTTP/1.1” 500 11100 “-” “Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”

    Plugin Author Denis Ryabov

    (@dryabov)

    There should be a file (usually named “error_log”) that contain information about PHP errors. If you use a control panel to manage your website, somewhere there should be a link to download Error Log. Otherwise, try to found this file in the top level directory of your website directory (usually named “public_html”), or in the “logs” directory there, or something like that.

    Here’s the content of the Error-Log in short:

    04.01.2020 00:04:59 ohrpheus.de PHP Fatal error: Uncaught Error: Call to undefined method Ressio_HtmlOptimizer_Dom_Element::addChild() in ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php:252
    04.01.2020 00:04:59 ohrpheus.de Stack trace:
    04.01.2020 00:04:59 ohrpheus.de #0 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/plugin/lazyload/lazyload.php(228): Ressio_HtmlOptimizer_Dom->appendStyleDeclaration(‘img.lazy,iframe…’)
    04.01.2020 00:04:59 ohrpheus.de #1 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/dispatcher.php(117): Ressio_Plugin_Lazyload->onHtmlIterateTagBODYAfter(Object(Ressio_Event), Object(Ressio_HtmlOptimizer_Dom), Object(Ressio_HtmlOptimizer_Dom_Element))
    04.01.2020 00:04:59 ohrpheus.de #2 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php(852): Ressio_Dispatcher->triggerEvent(‘HtmlIterateTagB…’, Array)
    04.01.2020 00:04:59 ohrpheus.de #3 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php(872): Ressio_HtmlOptimizer_Dom->domProcess(Object(Ressio_HtmlOptimizer_Do in ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php on line 252
    04.01.2020 00:05:06 ohrpheus.de PHP Fatal error: Uncaught Error: Call to undefined method Ressio_HtmlOptimizer_Dom_Element::addChild() in ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php:252
    04.01.2020 00:05:06 ohrpheus.de Stack trace:
    04.01.2020 00:05:06 ohrpheus.de #0 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/plugin/lazyload/lazyload.php(228): Ressio_HtmlOptimizer_Dom->appendStyleDeclaration(‘img.lazy,iframe…’)
    04.01.2020 00:05:06 ohrpheus.de #1 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/dispatcher.php(117): Ressio_Plugin_Lazyload->onHtmlIterateTagBODYAfter(Object(Ressio_Event), Object(Ressio_HtmlOptimizer_Dom), Object(Ressio_HtmlOptimizer_Dom_Element))
    04.01.2020 00:05:06 ohrpheus.de #2 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php(852): Ressio_Dispatcher->triggerEvent(‘HtmlIterateTagB…’, Array)
    04.01.2020 00:05:06 ohrpheus.de #3 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php(872): Ressio_HtmlOptimizer_Dom->domProcess(Object(Ressio_HtmlOptimizer_Do in ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php on line 252
    04.01.2020 00:06:06 ohrpheus.de AH01215: PHP Fatal error: Uncaught Error: Call to undefined method Ressio_HtmlOptimizer_Dom_Element::addChild() in ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php:252: ****/htdocs/index.php
    04.01.2020 00:06:06 ohrpheus.de AH01215: Stack trace:: ****/htdocs/index.php
    04.01.2020 00:06:06 ohrpheus.de AH01215: #0 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/plugin/lazyload/lazyload.php(228): Ressio_HtmlOptimizer_Dom->appendStyleDeclaration(‘img.lazy,iframe…’): ****/htdocs/index.php
    04.01.2020 00:06:06 ohrpheus.de AH01215: #1 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/dispatcher.php(117): Ressio_Plugin_Lazyload->onHtmlIterateTagBODYAfter(Object(Ressio_Event), Object(Ressio_HtmlOptimizer_Dom), Object(Ressio_HtmlOptimizer_Dom_Element)): ****/htdocs/index.php
    04.01.2020 00:06:06 ohrpheus.de AH01215: #2 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php(852): Ressio_Dispatcher->triggerEvent(‘HtmlIterateTagB…’, Array): ****/htdocs/index.php
    04.01.2020 00:06:06 ohrpheus.de AH01215: #3 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php(872): Ressio_HtmlOptimizer_Dom->domProcess(Object(Ressio_HtmlOptimizer_Do in ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php on line 252: ****/htdocs/index.php
    04.01.2020 00:15:29 ohrpheus.de PHP Fatal error: Uncaught Error: Call to undefined method Ressio_HtmlOptimizer_Dom_Element::addChild() in ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php:252
    04.01.2020 00:15:29 ohrpheus.de Stack trace:
    04.01.2020 00:15:29 ohrpheus.de #0 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/plugin/lazyload/lazyload.php(228): Ressio_HtmlOptimizer_Dom->appendStyleDeclaration(‘img.lazy,iframe…’)
    04.01.2020 00:15:29 ohrpheus.de #1 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/dispatcher.php(117): Ressio_Plugin_Lazyload->onHtmlIterateTagBODYAfter(Object(Ressio_Event), Object(Ressio_HtmlOptimizer_Dom), Object(Ressio_HtmlOptimizer_Dom_Element))
    04.01.2020 00:15:29 ohrpheus.de #2 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php(852): Ressio_Dispatcher->triggerEvent(‘HtmlIterateTagB…’, Array)
    04.01.2020 00:15:29 ohrpheus.de #3 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php(872): Ressio_HtmlOptimizer_Dom->domProcess(Object(Ressio_HtmlOptimizer_Do in ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php on line 252
    04.01.2020 00:17:13 ohrpheus.de PHP Fatal error: Uncaught Error: Call to undefined method Ressio_HtmlOptimizer_Dom_Element::addChild() in ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php:252
    04.01.2020 00:17:13 ohrpheus.de Stack trace:
    04.01.2020 00:17:13 ohrpheus.de #0 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/plugin/lazyload/lazyload.php(228): Ressio_HtmlOptimizer_Dom->appendStyleDeclaration(‘img.lazy,iframe…’)
    04.01.2020 00:17:13 ohrpheus.de #1 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/dispatcher.php(117): Ressio_Plugin_Lazyload->onHtmlIterateTagBODYAfter(Object(Ressio_Event), Object(Ressio_HtmlOptimizer_Dom), Object(Ressio_HtmlOptimizer_Dom_Element))
    04.01.2020 00:17:13 ohrpheus.de #2 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php(852): Ressio_Dispatcher->triggerEvent(‘HtmlIterateTagB…’, Array)
    04.01.2020 00:17:13 ohrpheus.de #3 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php(872): Ressio_HtmlOptimizer_Dom->domProcess(Object(Ressio_HtmlOptimizer_Do in ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php on line 252
    04.01.2020 00:18:23 ohrpheus.de PHP Fatal error: Uncaught Error: Call to undefined method Ressio_HtmlOptimizer_Dom_Element::addChild() in ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php:252
    04.01.2020 00:18:23 ohrpheus.de Stack trace:
    04.01.2020 00:18:23 ohrpheus.de #0 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/plugin/lazyload/lazyload.php(228): Ressio_HtmlOptimizer_Dom->appendStyleDeclaration(‘img.lazy,iframe…’)
    04.01.2020 00:18:23 ohrpheus.de #1 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/dispatcher.php(117): Ressio_Plugin_Lazyload->onHtmlIterateTagBODYAfter(Object(Ressio_Event), Object(Ressio_HtmlOptimizer_Dom), Object(Ressio_HtmlOptimizer_Dom_Element))
    04.01.2020 00:18:23 ohrpheus.de #2 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php(852): Ressio_Dispatcher->triggerEvent(‘HtmlIterateTagB…’, Array)
    04.01.2020 00:18:23 ohrpheus.de #3 ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php(872): Ressio_HtmlOptimizer_Dom->domProcess(Object(Ressio_HtmlOptimizer_Do in ****/wp-content/plugins/psn-pagespeed-ninja/ress/classes/htmloptimizer/dom.php on line 252

    Plugin Author Denis Ryabov

    (@dryabov)

    Open PSN’s settings and set “HTML Parser” to “Use Fast simple HTML parser” (instead of current “Use libxml HTML parser”) in the Advanced tab.

    PS. This issue is known and fixed in currently developing PSN 0.10.0 version. I’ll try to backport changes to 0.9.x branch and release new version.

    Thank you Denis it works. PageSpeed can test the site and I will look at the error logs the next few days.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Searchconsole Error 5xx and PageSpeed can’t check the site anymore’ is closed to new replies.