WordPress.org

Forums

[resolved] Fatal error: Call to undefined method stdClass::add_query_var() (3 posts)

  1. jonradio
    Member
    Posted 1 year ago #

    "Fatal error: Call to undefined method stdClass::add_query_var() in .../wp-includes/taxonomy.php on line 356"

    An Admin of an "under construction" web site is using one of my plugins, as well as a number of others, and started getting this error message right after she upgraded versions of WordPress, jonradio Multiple Themes and NextGen Gallery (NGG). The error remains when she deactivates all other plugins, but disappears if either NGG or my plugin is deactivated.

    You'll find more details in this thread:
    http://wordpress.org/support/topic/updates-conflict-between-ngg-jonradion-multiple-themes-1

    I've run out of ideas. And could really use some advice.

  2. fran330
    Member
    Posted 1 year ago #

    I am the person. I just posted in the thrad mentionned by Mr Jonradio, that I found a solution. It's not toally proper though and has its limits but it works.

  3. jonradio
    Member
    Posted 1 year ago #

    I'm still scratching my head over this one, but have it resolved, I think, with Version 4.8 of jonradio Multiple Themes. I delayed the interception of get_option 'stylesheet' and 'template' calls until 'plugins_loaded' (Action hook).

    I only observed the problem when Login was being attempted.

Topic Closed

This topic has been closed to new replies.

About this Topic