• Resolved thedoubledotted

    (@thedoubledotted)


    I’ve updated to 16.1 today but immediately caused my site to go to 502 error pages on every page. I deactivated the plugin and all is fine. I have now reverted back to a previous version and have no problems. Any idea what could be causing this problem?
    Many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello,

    We are sorry that you received an error 502: Bad Gateway after updating to the latest version of the plugin. This is a server error and server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, and immediately check your server error log for any errors during that time period. If you don’t have access to your server error log, please ask your hosting provider to look for you.

    If you or your web host cannot pinpoint the cause, please provide us with a copy of the server error log for further investigation. As server logs can cover a large amount of time, please limit the error log to a few minutes before generating the error to a few minutes after the error. If the server error log does not contain any errors at the time of the issue, please enable advanced WordPress debugging with the code. Your web host can provide you with a secure path to save the error.log file.

    Thanks

    Hi there,

    We’re having similar issues and getting 500 internal server errors since updarting today to 16.1

    Server error log (repeated multiple times):

    Stack trace:
    #0 …/lcc-site-2021/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-ancestor-watcher.php(175): Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder->build(false)
    #1 …/lcc-site-2021/wp-includes/class-wp-hook.php(294): Yoast\WP\SEO\Integrations\Watchers\Indexable_Ancestor_Watcher->build_post_hierarchy(2353)
    #2 …/lcc-site-2021/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #3 … in …/lcc-site-2021/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php on line 102

    Email message with error info:

    `An error of type E_ERROR was caused in line 102 of the file …/lcc-site-2021/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php. Error message: Uncaught TypeError: Argument 1 passed to YoastWPSEOBuildersIndexable_Hierarchy_Builder::build() must be an instance of YoastWPSEOModelsIndexable, bool given, called in …/lcc-site-2021/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-ancestor-watcher.php on line 175 and defined in …/lcc-site-2021/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php:102
    Stack trace:
    #0 …/lcc-site-2021/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-ancestor-watcher.php(175): YoastWPSEOBuildersIndexable_Hierarchy_Builder->build(false)
    #1 …/lcc-site-2021/wp-includes/class-wp-hook.php(294): YoastWPSEOIntegrationsWatchersIndexable_Ancestor_Watcher->build_post_hierarchy(2334)
    #2 …/lcc-site-2021/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #3 …

    Any help you and give would be much appreciated.

    Plugin Support Maybellyne

    (@maybellyne)

    @garyjh28

    Can you provide steps to replicate the issue? Do you by chance experience this with Elementor? And do you have Yoast SEO 16.1 and WordPress 5.7?

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘502 Error after update’ is closed to new replies.