• Resolved daro2013

    (@daro2013)


    Dear sir,

    I have a classified Theme installed on my website; it works well.

    However, after I installed Yoast plugin, it generates error or notice as on this link:

    https://www.bn3dfgt5.info/

    I dont have other third party plugins installed on my website except the Theme plugins.

    Can you please advise how to resolve the above issue?

    Many thanks in advance.

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

Viewing 9 replies - 16 through 24 (of 24 total)
  • Sa?a

    (@stodorovic)

    @daro2013 It’s impossible to delete these transients, but based on expiration value I think that they are just created when you opened “Transient manager”. Anyway, these transients are related to “indexing process” and it probably doesn’t show PHP notices.

    I just found that there is custom taxonomy (from AIT theme) which you need to “reset”:
    wp option delete ait-items_children
    There are more custom taxonomies. Please send details about lang plugin.

    Thread Starter daro2013

    (@daro2013)

    @sa?a

    I have tried all the command you advised above, and issue this command on SSH with the results below. The WP Notice generated from Yoast seems have gone? But there is another WP Notice coming in line 835 of a template:

    [root@vmi417715 bn3dfgt5.info]# wp term list category –allow-root
    Notice: Trying to get property ‘megamenu’ of non-object in /home/bn5fd0ohg2a6fdbh/public_html/bn3dfgt5.info/wp-content/themes/businessfinder2/ait-theme/@framework/framework.min.php on line 835
    Notice: Trying to get property ‘enabled’ of non-object in /home/bn5fd0ohg2a6fdbh/public_html/bn3dfgt5.info/wp-content/themes/businessfinder2/ait-theme/@framework/framework.min.php on line 835
    +———+——————+—————–+——————+————-+——–+——-+
    | term_id | term_taxonomy_id | name | slug | description | parent | count |
    +———+——————+—————–+——————+————-+——–+——-+
    | 80 | 91 | Programming | programming | | 0 | 1 |
    | 17 | 23 | SEO | seo | | 0 | 0 |
    | 1 | 1 | Uncategorized | uncategorized | | 0 | 0 |
    | 103 | 115 | Uncategorized | uncategorized-en | | 0 | 0 |
    | 18 | 22 | Web Development | webdevelop | | 0 | 3 |
    | 79 | 90 | Webdesign | webdesign | | 0 | 5 |
    | 81 | 92 | WordPress Theme | wordpress-theme | | 0 | 3 |
    +———+——————+—————–+——————+————-+——–+——-+

    Many thanks
    Thon

    Sa?a

    (@stodorovic)

    I don’t have ait-theme and it’s possible incompatibility between megamenu, ait-theme and WP-CLI. If you don’t see more PHP notices in QM then I think that’s fixed.

    Thread Starter daro2013

    (@daro2013)

    @sa?a
    I have issue the command you advised above in SSH:

    wp option delete ait-items_children

    It successfully resets, but the error from Yoast still exists.

    Please find the AIT Language plugin in this link:

    bn3dfgt5.info/ait-languages-4.0.3.zip

    Many thanks

    Pcosta88

    (@pcosta88)

    Hi @daro2013

    In reviewing this image https://bn3dfgt5.info/yoast2.jpg the errors are originating from the theme, rather than the Yoast plugin. We are not sure if those errors are related to caching but we would follow-up with the theme developer for more information. Indeed, it is odd that you were unable to reproduce the issue on a different set-up.

    In regards to the transients, we do use caching to help with our indexable feature. If you go to SEO-General-Features and disable the text link counter and then delete those transients do they remain deleted?

    Thread Starter daro2013

    (@daro2013)

    WOW: Great thanks to @sa?a. The error generated by Yoast has gone now!

    Here is a summary for those who might have similar WP Notice generated by Yoast plugin:

    1. Install & Activate Query Monitor plugin so that you can see where the error or notice comes from

    2. You need to have full access to SSH. Change directory to the root of your website

    3. Issue the following commands in SSH (if you have access to SSH):

    $ wp transient delete –all –allow-root
    $ wp cache flush –allow-root
    (source: https://wp-cli.org/)

    wp option delete category_children –allow-root
    wp option delete ait-items_children –allow-root (your item children is different from AIT items)

    wp term list category –allow-root

    4. Delete CACHE if you use a cache plugin like SuperCache, WP Fastest Cache or WP Rocket.

    5. Refresh your browser at Admin backend; you will see the WP Notices generated by Yoast plugin has gone.

    Big credit is given to @sa?a

    Cheers

    Sa?a

    (@stodorovic)

    I thought that was corrupted “children cache” for some custom taxonomy (I don’t see child categories in your lists). I’m glad that you finally fixed the issue.

    Thread Starter daro2013

    (@daro2013)

    @sa?a Thanks for helping WP community.

    You should delete option category_children (or product_cat_children depends on taxonomy) to force WP core to regenerate this cache.

    Not my topic, but wanted to say this did it for me.

    Just a bit surprised I have never read this solution somewhere before.

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘there is WP notice after installing a Yoast’ is closed to new replies.