• Resolved abanzer

    (@abanzer)


    Hello,

    I receive the following error once plugin is active:

    Notice: is_tag was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /www/wp-includes/functions.php on line 4773

    How can we fix the issue?

    Thanks a lot in advance.

    Best regards,
    Alessandro

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    Apologies for the delayed response here.

    Can you tell me what other plugins you have installed on your site? Have you tried deactivating them to see if there is a conflict?
    That would help narrow down the cause of the problem.

    Restrict User Access uses the action template_redirect to authorize users based on the levels created. At this point, the main query should have been run.

    Thread Starter abanzer

    (@abanzer)

    Hi Joachim,

    I deactivated ALL other plugins but I still get the error. I narrowed it down to restrict user access.

    I don’t know what to do but I need a fix asap. End users are complaining.

    Regards,
    Alessandro

    Plugin Author Joachim Jensen

    (@intoxstudio)

    What is the name of the theme you are using? (and parent theme, if it is a child theme)
    If you haven’t already, can you either switch to a default WordPress theme such as Twenty Nineteen or display the site with that theme in Live Preview? Please confirm whether or not you still see the issue.

    As mentioned, Restrict User Access uses a WordPress action/hook to authorize users, at which point the main query is normally run. If a plugin or theme triggers the action/hook earlier, it is likely that the error message above will be displayed.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘is_tag called incorrectly’ is closed to new replies.