• Resolved koolpal007

    (@koolpal007)


    Hi,

    I am testing your plugin Version 1.0.120 on my local environment with debug.log enabled.

    During wizard and when I visit /wp-admin/admin.php?page=rank-math I get PHP notice as below:

    [05-Aug-2023 04:43:04 UTC] PHP Notice: Function 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 [path]\wp-includes\functions.php on line 5865
    [05-Aug-2023 04:43:09 UTC] PHP Notice: Function 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 [path]\wp-includes\functions.php on line 5865
    [05-Aug-2023 04:44:23 UTC] PHP Notice: Function 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 [path]\wp-includes\functions.php on line 5865
    [05-Aug-2023 04:44:42 UTC] PHP Notice: Function 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 [path]\wp-includes\functions.php on line 5865
    [05-Aug-2023 04:45:05 UTC] PHP Notice: Function 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 [path]\wp-includes\functions.php on line 5865
    [05-Aug-2023 04:45:27 UTC] PHP Notice: Function 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 [path]\wp-includes\functions.php on line 5865
    [05-Aug-2023 04:45:40 UTC] PHP Notice: Function 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 [path]\wp-includes\functions.php on line 5865
    [05-Aug-2023 04:45:54 UTC] PHP Notice: Function 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 [path]\wp-includes\functions.php on line 5865
    [05-Aug-2023 04:46:09 UTC] PHP Notice: Function 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 [path]\wp-includes\functions.php on line 5865

    Please review and guide / fix.

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘PHP Notice: Function get_current_page was called incorrectly’ is closed to new replies.