• Resolved rickcookfolio

    (@rickcookfolio)


    Notice: get_current_page was called incorrectly. Current page retrieval should be called on or after the current_screen hook. Please see Debugging in WordPress for more information. (This message was added in version 0.16.0.) in /home/>>>>>>>>>>>>>/qtntvccpsj/public_html/wp-includes/functions.php on line 4778

    Notice: get_current_page was called incorrectly. Current page retrieval should be called on or after the current_screen hook. Please see Debugging in WordPress for more information. (This message was added in version 0.16.0.) in /home//>>>>>>>>>>>>>/qtntvccpsj/public_html/wp-includes/functions.php on line 4778

    So I keep seeing this above the Wizard when I go to setup Vendors pro???

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Jamie

    (@digitalchild)

    Hi @rickcookfolio

    I see that you have submitted a ticket so I’ll address this in our support system.

    cheers,

    Jamie.

    well33t

    (@well33t)

    I have the exact same problem what whas the solution ?

    Hello @digitalchild and @well33t,

    We have been trying to duplicate this. What we found is the function get_current_page() which is where your error is occurring is not in the core wordpress code, and it is also not a PowerPress function. We think this is a function in another plugin that you both happen to be using. Can you search your plugins source code for the following text:

    function get_current_page

    Once you can identify the plugin, please reply here so we can do some testing with that plugin to see if we can prevent these notices in a future release.

    A quick google search for the error also found that another plugin had this issue: https://wordpress.org/support/topic/notice-get_current_page-was-called-incorrectly-current-page-retrieval-should-b/ Not enough in that thread to know if its a problem with a Woo plugin or if that plugin happens to also fall victim to this same bug from another plugin.

    More importantly your server is setup in either WP_DEBUG mode or your server itself is setup in a development environment. Typically in a production environment PHP is not setup to print out notice messages (what your showing here) for security reasons.

    Thanks,
    Angelo

    Jamie

    (@digitalchild)

    Hello Everyone,

    This is a conflict with WooCommerce Admin and now WC 4.0 as its included. We have fixed this and it will be available in our next release. Or you can grab the latest master from our Github.

    https://github.com/wcvendors/wcvendors

    cheers,

    Jamie.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Notice: get_current_page was called incorrectly. Current page retrieval should b’ is closed to new replies.