• Resolved zecompadre

    (@zecompadre)


    Plugin active i have errors

    [16-Jul-2023 23:17:22 UTC] PHP Notice: Function is_home 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 /wp-includes/functions.php on line 6003
    [16-Jul-2023 23:17:22 UTC] PHP Notice: Function is_post_type_archive 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 /wp-includes/functions.php on line 6003
    [16-Jul-2023 23:17:22 UTC] PHP Notice: Function is_front_page 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 /wp-includes/functions.php on line 6003
    [16-Jul-2023 23:17:22 UTC] PHP Notice: Function is_home 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 /home/receitasnorobot.com/public_html/www/wp-includes/functions.php on line 6003
    [16-Jul-2023 23:17:22 UTC] PHP Notice: Function is_singular 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 /wp-includes/functions.php on line 6003
    [16-Jul-2023 23:17:22 UTC] PHP Notice: Function is_front_page 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 /wp-includes/functions.php on line 6003
    [16-Jul-2023 23:17:22 UTC] PHP Notice: Function is_home 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 /wp-includes/functions.php on line 6003
    [16-Jul-2023 23:17:22 UTC] PHP Notice: Function is_singular 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 /wp-includes/functions.php on line 6003

    —–

    Plugin Inactive no errors

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support J Burns

    (@subiewrx)

    Hi @zecompadre,

    Thanks for reaching out and I’m sorry that you’re having an issue here.

    Could you please use the Health Check & Troubleshooting plugin (https://www.ads-software.com/plugins/health-check/) to debug possible conflicts by following these steps:

    1. Make sure to have a default WordPress theme like Twenty Twenty installed.
    2. Go to?Plugins > Add New?and install and activate the?Health Check & Troubleshooting plugin.
    3. Go to Plugins > Installed Plugins and click on Troubleshoot below the All in One SEO plugin.
    4. This will temporarily disable all the plugins and switch to a default theme only for your user ID without impacting what your visitors see.
    5. Check to see if you’re able to reproduce the problem.
    6. Once you’re done troubleshooting, deactivate and delete the Health Check & Troubleshooting plugin.

    Please let me know what you find.

    Thanks!

    Thread Starter zecompadre

    (@zecompadre)

    All deactivated and still same messages

    Screenshot by Lightshot (prnt.sc)

    [17-Jul-2023 21:14:12 UTC] PHP Notice: Function is_home 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 /wp-includes/functions.php on line 6003
    [17-Jul-2023 21:14:12 UTC] PHP Notice: Function is_post_type_archive 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 /wp-includes/functions.php on line 6003
    [17-Jul-2023 21:14:12 UTC] PHP Notice: Function is_front_page 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 /wp-includes/functions.php on line 6003
    [17-Jul-2023 21:14:12 UTC] PHP Notice: Function is_home 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 /wp-includes/functions.php on line 6003
    [17-Jul-2023 21:14:12 UTC] PHP Notice: Function is_singular 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 /wp-includes/functions.php on line 6003
    [17-Jul-2023 21:14:12 UTC] PHP Notice: Function is_front_page 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 /wp-includes/functions.php on line 6003
    [17-Jul-2023 21:14:12 UTC] PHP Notice: Function is_home 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 /wp-includes/functions.php on line 6003
    [17-Jul-2023 21:14:12 UTC] PHP Notice: Function is_singular 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 /wp-includes/functions.php on line 6003

    Plugin Support J Burns

    (@subiewrx)

    Hi @zecompadre,

    Thanks for the follow-up.

    Could you tell me which version of PHP, WordPress, and All in One SEO you’re using? If you could also share your website URL, that would be helpful as well.

    Thanks!

    Thread Starter zecompadre

    (@zecompadre)

    PHP: 8.0

    AIOSEO: 4.4.1

    WP: 6.2.2

    Temporary i deactivated the filters:

    remove_filter(‘jetpack_sync_before_send_jetpack_sync_save_post’, ‘Automattic\Jetpack\Sync\Modules\Posts::expand_jetpack_sync_save_post’, 10);

    remove_filter(‘jetpack_sync_before_enqueue_deleted_post’, ‘Automattic\Jetpack\Sync\Modules\Posts::filter_blacklisted_post_types_deleted’, 10);

    remove_filter(‘jetpack_sync_before_enqueue_jetpack_sync_save_post’, ‘Automattic\Jetpack\Sync\Modules\Posts::filter_blacklisted_post_types’, 10);

    On the support page i had a notice “sync issues”

    Reactivate the filters, deactivate jetpack, reactivate jetpack, no errors until now and no notice sync issues

    • This reply was modified 1 year, 8 months ago by zecompadre.
    Plugin Support J Burns

    (@subiewrx)

    Hi @zecompadre,

    I’m sorry, but based on your response I’m not sure if the issue is resolved or are you still experiencing errors?

    Thanks!

    Thread Starter zecompadre

    (@zecompadre)

    for now is solved, after i’ve deactivated and activated the filters “jetpack_sync_before_send_jetpack_sync_save_post” and other and deactived the jetpack the errors disappear

    tks

    • This reply was modified 1 year, 8 months ago by zecompadre.
    • This reply was modified 1 year, 8 months ago by zecompadre.
    Plugin Support J Burns

    (@subiewrx)

    Thanks for the follow up @zecompadre!

    I’m glad it’s working for you now.

    Thread Starter zecompadre

    (@zecompadre)

    Sorry, wrong topic response.....
    
    no solutions until now.
    
    only deactivated i have no warnings
    
    updated to last vesion and reactivated and still notices 
    
    -----------------
    
    [20-Jul-2023 22:31:15 UTC] PHP Notice: Function is_home 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:31:15 UTC] PHP Notice: Function is_post_type_archive 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:31:15 UTC] PHP Notice: Function is_front_page 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:31:15 UTC] PHP Notice: Function is_home 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:31:15 UTC] PHP Notice: Function is_singular 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:31:15 UTC] PHP Notice: Function is_front_page 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:31:15 UTC] PHP Notice: Function is_home 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:31:15 UTC] PHP Notice: Function is_singular 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:32:00 UTC] PHP Notice: Function is_home 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:32:00 UTC] PHP Notice: Function is_post_type_archive 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:32:00 UTC] PHP Notice: Function is_front_page 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:32:00 UTC] PHP Notice: Function is_home 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:32:00 UTC] PHP Notice: Function is_singular 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:32:00 UTC] PHP Notice: Function is_front_page 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:32:00 UTC] PHP Notice: Function is_home 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 /wp-includes/functions.php on line 6003
    [20-Jul-2023 22:32:00 UTC] PHP Notice: Function is_singular 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 /wp-includes/functions.php on line 6003
    
    
    ------
    
    ==========
    [20-Jul-2023 22:54:11 UTC] 
    ==========
    STACK TRACE:
    Function is_singular was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://www.ads-software.com/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.)
    /wp-includes/functions.php -- line 6003
    /wp-includes/query.php -- line 797
    /wp-content/plugins/all-in-one-seo-pack/app/Common/Traits/Helpers/WpContext.php -- line 204
    /wp-content/plugins/all-in-one-seo-pack/app/Common/Meta/MetaData.php -- line 101
    /wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Facebook.php -- line 197
    /wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Social.php -- line 116
    /wp-includes/class-wp-hook.php -- line 319
    /wp-includes/plugin.php -- line 205
    /wp-includes/general-template.php -- line 4381
    /wp-includes/general-template.php -- line 4396
    /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/brute-force-protection/class-blocked-login-page.php -- line 480
    /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/brute-force-protection/class-blocked-login-page.php -- line 399
    /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/brute-force-protection/class-blocked-login-page.php -- line 407
    /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/brute-force-protection/class-blocked-login-page.php -- line 310
    /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-brute-force-protection.php -- line 881
    /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-brute-force-protection.php -- line 718
    /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-brute-force-protection.php -- line 172
    /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php -- line 60
    /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/src/class-config.php -- line 317
    /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/src/class-config.php -- line 219
    /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/src/class-config.php -- line 151
    /wp-includes/class-wp-hook.php -- line 317
    /wp-includes/class-wp-hook.php -- line 342
    /wp-includes/plugin.php -- line 517
    /wp-settings.php -- line 486
    /wp-config.php -- line 117
    /wp-load.php -- line 50
    /wp-login.php -- line 12
    • This reply was modified 1 year, 8 months ago by zecompadre.
    • This reply was modified 1 year, 8 months ago by zecompadre.
    Plugin Support J Burns

    (@subiewrx)

    Hi @zecompadre,

    Thanks for the follow-up and stack trace.

    Our Developers have reviewed the errors and have opened an issue for it.

    To prevent these warnings, you can add the following code snippet using the WPCode plugin or by adding it to your child/theme functions.php file –

    add_filter( 'language_attributes', function( $output ) {
    	global $wp_query;
    
    	if ( empty( $wp_query ) && function_exists( 'aioseo' ) ) {
    		remove_filter( 'language_attributes', [ aioseo()->social, 'addAttributes' ], 10 );
    	}
    
    	return $output;
    }, 0 );


    Thanks!

    Thread Starter zecompadre

    (@zecompadre)

    i’ve already done a prevention code, tks

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Notices with plugin active’ is closed to new replies.