WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Fatal error (2 posts)

  1. arsliber
    Member
    Posted 3 months ago #

    I've just installes the plugin last version and when trying to see the page in which it's installed, I got this message:

    Fatal error: Call to undefined method WP_Query::is_main_query() in /home/arsl/domains/arsliber.com/public_html/wp-content/plugins/wordpress-seo/frontend/class-frontend.php on line 555

    Any idea? Help is wellcome...

    https://wordpress.org/plugins/wordpress-seo/

  2. jrf
    Member
    Posted 3 months ago #

    That's a standard WordPress class method which should definitely be available at that point. Another plugin or your theme may be doing something funky causing it to not be available.

    Try de-activating all other plugins and switching to a standard WP theme. The error will more likely than not, no longer appear. (If it does: report it on GitHub).
    Presuming it doesn't: switch back to your preferred theme and test, activate each plugin in turn an test after each activation. Take note of which plugin/theme you activated when the error starts re-appearing and contact them to get it fixed.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags