• Resolved digitaliway

    (@digitaliway)


    I am having an issue with the plugin causing php warning by the thousands. the log is growing to over 10GB in a few days. any direction on this would be appreciated

    php 8.1 wordpress 6.6.2 yoast Version 23.4 |

    [13-Sep-2024 11:27:42 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in /home/jstvision/public_html/wp-content/plugins/wordpress-seo/src/helpers/current-page-helper.php on line 135

    [13-Sep-2024 11:27:42 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in /home/jstvision/public_html/wp-includes/taxonomy.php on line 1708

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Mushrit Shabnam

    (@611shabnam)

    Hi @digitaliway

    Is there any specific set of steps that you followed before the warnings appeared?

    Thread Starter digitaliway

    (@digitaliway)

    did not do anything different and only found out about this because the account maxed out storage so I was locked out. I am running php 8.1 and mysql 8/. What is current-page-helper.php on line 135 actually doing?

    Plugin Support Maybellyne

    (@maybellyne)

    I’m sorry about your experince, @digitaliway. Please deactivate and delete the plugin, then re-install it.

    Thread Starter digitaliway

    (@digitaliway)

    I deactivated and removed then cleared the log. Upon testing the php warning remain. I have about 2K of the below since yesterday.

    [17-Sep-2024 21:23:30 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in /home/jstvision/public_html/wp-includes/taxonomy.php on line 1708
    [17-Sep-2024 21:23:30 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in /home/jstvision/public_html/wp-content/plugins/wordpress-seo/src/helpers/current-page-helper.php on line 135
    [17-Sep-2024 21:23:30 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in /home/jstvision/public_html/wp-includes/taxonomy.php on line 1708
    [17-Sep-2024 21:24:25 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in /home/jstvision/public_html/wp-includes/taxonomy.php on line 1708

    Plugin Support Maybellyne

    (@maybellyne)

    So, it seems something in your installation is checking non-existing taxonomies for a link and this causes the error.?Please try these steps next:

    1. Install & activate the?Yoast Test Helper plugin
    2. Go to Tools > Yoast Test
    3. Locate the Yoast SEO section and click on the ‘Reset indexables tables & migrations‘, ‘Reset Prominent words calculation‘, and ‘Reset Internal link counter‘ buttons. After each click, the page will reload to confirm that the specific reset was successful.
    4. Go to SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your content.

    Please let us know if the reported issue remains after resetting the optimized data.

    Thread Starter digitaliway

    (@digitaliway)

    Thank you for the details on this. I did as instructed and got the re-optimization button which completed. I cleared the log and waited an hour. unfortunately, I am still getting the below entries in the log.

    [18-Sep-2024 17:19:58 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in /home/jstvision/public_html/wp-includes/taxonomy.php on line 1708
    [18-Sep-2024 17:19:58 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in /home/jstvision/public_html/wp-content/plugins/wordpress-seo/src/helpers/current-page-helper.php on line 135
    [18-Sep-2024 17:19:59 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in /home/jstvision/public_html/wp-includes/taxonomy.php on line 1708
    [18-Sep-2024 18:00:15 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in /home/jstvision/public_html/wp-includes/taxonomy.php on line 1708

    Plugin Support Mushrit Shabnam

    (@611shabnam)

    Hi @digitaliway

    Do you have must use plugins on your site? If yes, can you kindly remove must use plugins, reinstall and reactivate Yoast SEO plugin and see if the warnings exist?

    Kindly create backup before you test this. We recommend creating regular backups of your site and database for your site’s health and safety. A backup is crucial before making important changes on your website and provides you with a safety net if something were to go wrong. Learn more about the benefits of regular backups.

    Thread Starter digitaliway

    (@digitaliway)

    how can I completely remove yoast seo and all settings and database tables completely from my site so that there is no remaining items. I cannot have this log growing like this so it needs to be removed.

    Plugin Support Maybellyne

    (@maybellyne)

    To remove all traces of our plugins, see this help article.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.