Title: Multiple PHP warnings
Last modified: May 22, 2026

---

# Multiple PHP warnings

 *  Resolved [Ron](https://wordpress.org/support/users/donniepeters/)
 * (@donniepeters)
 * [1 week ago](https://wordpress.org/support/topic/multiple-php-warnings-5/)
 * For several weeks now serval websites that I manage have been getting numerous
   php warnings… so many that I have moved some sites to other SEO plugins to clear
   the error logs for them.
 * There are two that I can not move at this time and **one had over TWO THOUSAND(
   2000)) entries in 14 HOURS!!!!**
 * Both websites use The Event Calendar, which works better with another SEO plugin
   but has fewer features available than AIOSEO.
   I have tried to pin down a fix 
   to no avail. Even code fixes suggested by Anthropic have not worked.
 * Here is the first 108 lines of 2036 lines from the error log from today.
   [https://pastebin.com/5eV7x9sN](https://pastebin.com/5eV7x9sN)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmultiple-php-warnings-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Support [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [1 week ago](https://wordpress.org/support/topic/multiple-php-warnings-5/#post-18916400)
 * Hi Ron,
 * Thanks for the detailed report and for sharing the error log. I can see exactly
   what’s happening here.
 * The PHP warnings you’re seeing are caused by an issue in how AIOSEO generates
   Schema breadcrumb markup on certain archive pages. Specifically, when The Event
   Calendar registers its custom post types and taxonomies, there are situations
   where AIOSEO’s breadcrumb code receives a post type object when it’s expecting
   a taxonomy term object. This causes it to try accessing properties (like `taxonomy`,`
   slug`, `parent`) that don’t exist on that object type, which generates the warnings.
 * That’s why the warnings are tied to your sites running The Event Calendar, and
   why the volume is so high — every page load that triggers AIOSEO’s Schema output
   for those archive pages generates a cluster of warnings.
 * To be clear: these are PHP **warnings**, not fatal errors, so your site’s functionality
   isn’t broken. However, I completely understand the concern about 2,000+ log entries
   in 14 hours — that kind of log bloat makes it harder to spot real issues.
 * **Immediate steps you can take to stop the log spam:**
 * If your site has `WP_DEBUG` and `WP_DEBUG_LOG` enabled in `wp-config.php`, you
   can disable warning logging on production by adding this line right after the
   existing `WP_DEBUG` definition:
 *     ```wp-block-code
       define( 'WP_DEBUG', false );
       ```
   
 * Or, if you want to keep error logging active but only for actual errors (not 
   warnings), you can add this snippet via the free [WPCode](https://wordpress.org/plugins/insert-headers-and-footers/)
   plugin:
 *     ```wp-block-code
       add_action( 'init', function() {
       	error_reporting( E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED );
       }, 1 );
       ```
   
 * This will stop the warnings from filling your logs while keeping genuine errors
   visible.
 * **On our end:** I’m filing this as an internal issue with our Development team.
   I hope this will be addressed in an upcoming release.
 * I appreciate you sticking with AIOSEO and taking the time to report this.
 * Thank you again for bringing this to our attention.
 *  Thread Starter [Ron](https://wordpress.org/support/users/donniepeters/)
 * (@donniepeters)
 * [1 week ago](https://wordpress.org/support/topic/multiple-php-warnings-5/#post-18916414)
 * Hi [@aurangajeb](https://wordpress.org/support/users/aurangajeb/) thanks for 
   your response. Neither of the affected sites had WP_DEBUG enabled yet the server
   error log is still recording these. Additionally several other sites that I moved
   to another SEO plugin recently were also generating errors, which is why I moved
   them away from AIOSEO and they did NOT have The Events Calendar installed.
   It
   has seemed that your plugin, which was great in the past, seems to have developed
   a number of issues in the last few months. And with traffic on sites increasing
   by 4 or 5 times what they were even a year ago with new and not well designed“
   bots” now flooding our bandwidth it is more challenging than ever to manage how
   our sites work.
 *  Plugin Support [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [1 week ago](https://wordpress.org/support/topic/multiple-php-warnings-5/#post-18916441)
 * Hi [@donniepeters](https://wordpress.org/support/users/donniepeters/) ,
 * Thank you for following up. I completely understand your frustration, especially
   with aggressive bots putting extra strain on your websites and filling up your
   logs.
 * Even when WordPress debugging is turned off, your web hosting server has its 
   own separate settings that log these messages. You can ask your hosting provider
   to adjust your server settings so it only records critical errors instead of 
   minor warnings. Setting up a free firewall like Cloudflare can also help block
   those bad bots and stop them from triggering these warnings in the first place.
 * Our developers are actively working on a fix for the conflict with The Events
   Calendar. However, since your other sites do not use that plugin, we may need
   to investigate them separately to see exactly what is causing those specific 
   errors.
 * Please feel free to reach out to us directly so we can investigate further. You
   can contact us using the Basic Question form on this page: [https://aioseo.com/contact/](https://aioseo.com/contact/)
 * Thank you, and have a wonderful weekend.
 *  Thread Starter [Ron](https://wordpress.org/support/users/donniepeters/)
 * (@donniepeters)
 * [1 week ago](https://wordpress.org/support/topic/multiple-php-warnings-5/#post-18916448)
 * Thanks [@aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * Both of the sites have been on Cloudfare since early this year to weed out the
   bad bots.
 * Appreciate that you are working on a solution that has The Event Calendar in 
   mind. In particular your plug-in does not capture an Event Start date and instead
   uses the Event publish date (yesterday, last week, last month) in the “event_date”
   variable. I have had to manually enter the correct date that an event is being
   held in over a thousand events over the last few years in the AIOSEO panel at
   the bottom of every event. It was frustrating but I still preferred AIOSEO over
   the others.
 * See my post from 2 years and 1 month ago on this issue!
   [https://wordpress.org/support/topic/seo-plugin-sets-event-date-to-post-date/](https://wordpress.org/support/topic/seo-plugin-sets-event-date-to-post-date/)
 *  Plugin Support [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [5 days, 14 hours ago](https://wordpress.org/support/topic/multiple-php-warnings-5/#post-18917564)
 * Hi [@donniepeters](https://wordpress.org/support/users/donniepeters/) ,
 * Thanks for the additional context and for linking to your older thread about 
   the event date.
 * **On the event date smart tag:** I’ve read through your previous thread ([https://wordpress.org/support/topic/event-date-variable-displays-incorrectly/](https://wordpress.org/support/topic/event-date-variable-displays-incorrectly/))
   and I can see this has been a pain point for a long time. That tag is actually
   the WordPress post publish date, dynamically renamed based on the post type. 
   For events, that’s almost never the date you want in your SEO title or Schema
   output.
 * I can see Arnaud acknowledged this two years ago. I’m filing a separate enhancement
   request to add smart tags that pull the actual event start and end dates from
   The Events Calendar’s data, saving you from manually editing over a thousand 
   events.
 * **On your other sites (without The Events Calendar):** The fix we’re working 
   on for the PHP warnings isn’t limited to The Events Calendar. The root issue 
   is a missing type check in AIOSEO’s code that can be triggered by any plugin 
   that registers custom post types with taxonomy archives. So the upcoming fix 
   will cover all of those cases, not just TEC.
 * If you’d like us to investigate the specific errors on your non-TEC sites, feel
   free to reach out directly through our contact form ([https://aioseo.com/contact/](https://aioseo.com/contact/))
   and share the error log from one of those sites. That way we can confirm whether
   it’s the same underlying issue or something different.
 * Thank you for your patience and for continuing to use and advocate for AIOSEO
   across your 13+ sites. We want to make sure the plugin works well for your event-
   heavy workflow.
 *  Thread Starter [Ron](https://wordpress.org/support/users/donniepeters/)
 * (@donniepeters)
 * [5 days, 13 hours ago](https://wordpress.org/support/topic/multiple-php-warnings-5/#post-18917585)
 * Thanks [@aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * I appreciate your response and do hope that the issue with The Event Calendar
   really does get resolved this time. And I really was not kidding on the numbers–
   the larger site I installed TEC in September 2022 and have added 912 events and
   the other one I installed TEC in March 2023 and added 368 events. 😵‍💫
 * As for the other sites I have already moved them to another SEO and they are 
   much smaller and do not need all the benefits that AIOSEO has. That resulted 
   in empty error logs on those ones.
   Since I last emptied the error log for the
   larger/busier one on 21-May-2026 23:13:41 UTC to now 24-May-2026 18:26:43 UTC
   I now see **6,384** PHP Warnings!! It was never like this over the years. This
   is something that has just recently gotten worse.
 * I look forward to the updates!
    -  This reply was modified 5 days, 13 hours ago by [Ron](https://wordpress.org/support/users/donniepeters/).
 *  Plugin Support [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [5 days, 13 hours ago](https://wordpress.org/support/topic/multiple-php-warnings-5/#post-18917593)
 * Hi [@donniepeters](https://wordpress.org/support/users/donniepeters/) ,
 * Thanks for the update. 912 events on one site and 368 on the other is a serious
   workload, and I can only imagine the effort of manually adjusting dates on all
   of those.
 * 6,384 warnings in under two days is definitely not acceptable, and I understand
   your urgency. Both the breadcrumb warnings fix and the Event Calendar date integration
   are actively being worked on. I can’t give an exact release date yet, but they’re
   in the pipeline and moving forward.
 * In the meantime, if you’d like to stop the log from growing while waiting for
   the update, the quickest option is to add this one line to your site’s `wp-config.
   php` (right before the line that says `/* That's all, stop editing! */`):
 *     ```wp-block-code
       define( 'WP_DISABLE_FATAL_ERROR_HANDLER', false );ini_set( 'log_errors', '0' );
       ```
   
 * Or if you’d rather keep logging but filter out these specific warnings, the WPCode
   snippet from my earlier reply will do that without hiding real errors.
 * Glad the other sites are running clean now. We’ll make sure to update this thread
   once the fixes are released. Thank you for your patience, Ron.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmultiple-php-warnings-5%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * Last activity: [5 days, 13 hours ago](https://wordpress.org/support/topic/multiple-php-warnings-5/#post-18917593)
 * Status: resolved