Corrado
Forum Replies Created
-
Hi @frank10co
Unfortunately, I can’t solve the problem, and I see that support has no intention of fixing a problem that affects several sites.I opened this thread two weeks ago. I provided all the information I have, and they keep asking for information just to show they’ve responded to the thread.
I’ve just wasted a lot of time.My solution is to change the plugin.
That way, I can get rid of a very problematic plugin.Regards
Dear Support,
As you can see, there are many cases of sites affected by this problem.I’ve provided you with all the information possible and even a complete list of all the site’s plugins and the versions of the components you requested.
Now it’s up to you to solve the problem.The problem is your plugin and the handling of custom fields and TEC taxonomies.
If you can fix the problem, OK. Otherwise, please let me know honestly so I can change the plugin.
Thank you.
RegardsDear Support,
The problem goes away if I disable TEC, not Yoast.It’s been several days, and I’m spending a lot of time answering your questions, but it doesn’t seem like you’re far from solving the problem.
Are you able to solve the problem or not?
Please answer me honestly.If you don’t find a solution soon, I’ll delete TEC and install another plugin.
Thanks
In query Monitor:
Deprecated strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
wp-includes/functions.php:7360
1 Plugin: the-events-calendar
Deprecated str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
wp-includes/functions.php:2195
1 Plugin: the-events-calendarThanks
Hi Support,
What do I mean by full stack trace?
What files do you need? Let me know in detail what I need to do.Why don’t you try with Theme and Version: GeneratePress 3.6.0?
The procedure you’re suggesting for testing for conflicts seems really useless, since I did a much more thorough analysis in the first post!
Below is more data:
WordPress
Versione WordPress 6.8.2
Lingua it-IT
Charset UTF-8
Limite memoria 512M
PHP
Versione PHP 8.2.29
PHP SAPI cgi-fcgi
Limite memoria 768M
Memoria in uso 108 MB
Tempo di esecuzione massima 120 (predefinito) - è dinamico
open_basedir Off
Shell (exec) È supportato
Shell Exec Zip È supportato
Estensione Suhosin Disabilitato
Architettura 64-bit
File dei log degli errori php_errorlog
MySQL
Versione 8.0.41
Charset utf8mb4
Timeout di attesa 60This is the new php_errorlog:
https://drive.google.com/file/d/18z0wrFeW3OO7a1hCeSddCy2dQhh-P10A/view?usp=sharingThis user also had the same error:
https://ww.wp.xz.cn/support/topic/php-error-log-issue/Let me give you a quick recap:
I’m experiencing persistent PHP warnings on a live site using The Events Calendar. These warnings are being logged every minute (now it is no longer every minute but it varies and you can see it from the log I provided you), and they appear to be triggered during background tasks, possibly during scheduled actions (Action Scheduler), particularly when interacting with Yoast SEO’s indexables.
Here are the exact error messages from the php_error.log:
PHP Warning: Undefined property: WP_Post_Type::$term_id in /wp-includes/taxonomy.php on line 1720
PHP Warning: Undefined property: WP_Error::$taxonomy in /wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php on line 342
After hours of debugging and disabling plugins one by one, I was able to confirm that these warnings only appear when The Events Calendar is active. Disabling it eliminates the warnings entirely.
Additional insights:
The warnings seem to originate when Yoast SEO tries to build the indexable hierarchy for an object that is likely returned as a WP_Error instead of a valid taxonomy or post type.
Specifically, the post_parent of an Event (or possibly a custom post type created by TEC) seems to be returning a WP_Error, and this is being passed to Yoast’s builder without proper checking.
This likely happens inside a scheduled event triggered via Action Scheduler, since the logs show a new error line every minute, regardless of user interaction.
Further investigation reveals that another user reported the same issue in the past with this error pattern:
[example quoted for context]
PHP Warning: Undefined property: WP_Post_Type::$term_id in taxonomy.php
PHP Warning: Undefined property: WP_Error::$taxonomy in indexable-hierarchy-builder.php
Interestingly, the issue disappears entirely when migrating the same site to a staging environment. My hypothesis is that:
The staging environment has no traffic (so the Action Scheduler does not run),
Or the cron system is disabled (DISABLE_WP_CRON is true),
Or the environment swallows warnings due to error_reporting settings.
Please help me identify and fix the root cause.
Can you verify whether:
A TEC object (post or taxonomy) could be returning a WP_Error during post hierarchy resolution or indexing?
There are known compatibility issues between TEC and Yoast SEO when used with Action Scheduler?Thanks
Hi Support,
as you can see from the logs now the warnings are every 5 min (after I disabling Event categories in Yoast -> Settings -> Categories & Tags -> Event Categories.):
[16-Jul-2025 06:54:29 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in wp-includes/taxonomy.php on line 1720
[16-Jul-2025 06:54:29 UTC] PHP Warning: Undefined property: WP_Error::$taxonomy in wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php on line 342
[16-Jul-2025 06:54:29 UTC] PHP Warning: Undefined property: WP_Error::$parent in wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php on line 344
[16-Jul-2025 06:54:29 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in wp-includes/taxonomy.php on line 1720
[16-Jul-2025 07:38:52 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in wp-includes/taxonomy.php on line 1720
[16-Jul-2025 07:38:52 UTC] PHP Warning: Undefined property: WP_Error::$taxonomy in wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php on line 342
[16-Jul-2025 07:38:52 UTC] PHP Warning: Undefined property: WP_Error::$parent in wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php on line 344
[16-Jul-2025 07:38:52 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in wp-includes/taxonomy.php on line 1720
[16-Jul-2025 07:43:07 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in wp-includes/taxonomy.php on line 1720
[16-Jul-2025 07:43:07 UTC] PHP Warning: Undefined property: WP_Error::$taxonomy in wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php on line 342
[16-Jul-2025 07:43:07 UTC] PHP Warning: Undefined property: WP_Error::$parent in wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php on line 344
[16-Jul-2025 07:43:07 UTC] PHP Warning: Undefined property: WP_Post_Type::$term_id in wp-includes/taxonomy.php on line 1720I also installed WP Crontrol and this is the cron:
https://drive.google.com/file/d/1wm7p8DciqVn2l9oOsXdaXUpb7g4osDrU/view?usp=sharingCron scheduling:
https://drive.google.com/file/d/1iM9yZcYNeayOKfUjMaRK0X2KABPT9Zxy/view?usp=sharingThese are the plugins present:
Classic Editor
Compliance
Duplicate page
Duplicator
Elementor
Elementor Pro
FluentSMTP (disable)
GTranslate
Ivory Search
Maintenance (disable)
Speed Optimizer
The Events Calendar
WP-Optimize – Clean, Compress, Cache (disable)
Yoast SEO
There are no Taxonomies and CPTs recorded by me manually or by ACF or CPT UIHosting Siteground
I did the analysis in the first post, can you implement a fix to solve the problem?
Thanks in advance
Hello Support,
I partially solved the issue by disabling Event categories in Yoast -> Settings -> Categories & Tags -> Event Categories.
But that’s not a solution.
It doesn’t seem possible to upload a screenshot.
Thanks
Hello Support,
- PHP: 8.2.28
- WordPress: 6.8.1
- The Events Calendar: 6.14.0
- Events Calendar Pro (if using): No
- Theme and Version: GeneratePress 3.6.0
Thanks!
@aahulsebos
The domain is configured correctly. 🙂@rogierlankhorst
Thank you so much!
Your change to the plugin completely solves the problem!
The banner is now working correctly.Thank you so much for the wonderful assistance.
Your work is really valuable and this plugin is great!Suggestion:
it would be great if the “tab to call the banner” were visible on the frontend even on mobile without having to add the css:
@media screen and (max-width: 768px) {
.cc-revoke {
display: block! important;
}}The GDPR requires it to be able to change user choice at any time.
Thanks again!Thank you for answering.
I have disabled all the css file minification functions.
I tried to disable the cache plugin.
I tried to delete the cache plugin.
I tried to disable all plugins except Complianz.
I tried to change the graphic theme.
I tried to clean the DB with Wp optimize.Unfortunately, none of these things solve the problem.
I did all these tests on a staging site:
https://www.staging2.beautypencil.itThanks in advance.
Ps. your plugin is great and i use it for other sites and it works great.
Thank you for your answer,
At this time I am developing a website locally. so I can’t give you a link and credentials.
I have solved using another plugin that has similar functions.thanks anyway for your time!
Best RegardsForum: Themes and Templates
In reply to: [Oblique] FontAwesome issue causing social icons blankThanks a lot!
Good solution!Forum: Plugins
In reply to: [Ultimate FAQ Accordion Plugin] Translation of ‘Back to top’I send you an email with po/mo italian translation.
And I update the development (trunk) on ww.wp.xz.cn translation platform.I hope it is useful.
Best regards
NimdawebForum: Plugins
In reply to: [Ultimate FAQ Accordion Plugin] Translation of ‘Back to top’Hi Etoile,
after last plugin update language files works fine.
You made some corrections?
In a few days I will send you the files with professional Italian translation of the plugin to be used for free.Thanks,
Nimda