• Resolved Lucas Stark

    (@lucasstark)


    With the plugin active on the main site in a multisite installation we receive a notice that is_current_page is called incorrectly on the Network Dashboard.

    Screenshot: http://d.pr/i/BBvvJG

    Full Notice:
    Notice: is_current_page was called incorrectly. Function was called before it is possible to accurately determine what the current page is. Please see Debugging in WordPress for more information. (This message was added in version 4.5.6.) in /nas/content/live/rivierraiders/wp-includes/functions.php on line 4139

Viewing 4 replies - 1 through 4 (of 4 total)
  • Having the same problem.

    As a temporary fix

    File: the-events-calendar/common/src/Tribe/App_Shop.php

    Line: 103

    Function: is_current_page

    Add the following to the beginning of the function

    
    if (is_network_admin()) {
      return false;
    }
    
    • This reply was modified 6 years, 9 months ago by John Huebner.

    Thanks for the temporary fix, worked for me too.

    Thanks for reporting this Lucas, and John thank you for sharing your fix!

    I’ll be creating a ticket to document what you’ve reported.

    Thanks!

    Shelby 🙂

    Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘is_current_page called incorrectly on Multisite Network Dashboard’ is closed to new replies.