PHP Warning: Attempt to read property – huge error_log

[ad_1]

Hi,

My site’s error_log file is growing by 100,000 lines per day (20MB each day) with the same 5 errors, shown below.

(I only noticed when the site ran out of disk space and the error log was over 4G !)

===========

[25-Oct-2024 16:59:12 UTC] PHP Warning: Attempt to read property “state_province” on null in /home/xxxxxxxx/public_html/wordpress/wp-content/plugins/the-events-calendar/src/views/v2/list/event/venue.php on line 27
[25-Oct-2024 16:59:12 UTC] PHP Warning: Attempt to read property “state” on null in /home/xxxxxxxx/public_html/wordpress/wp-content/plugins/the-events-calendar/src/views/v2/list/event/venue.php on line 27
[25-Oct-2024 16:59:12 UTC] PHP Warning: Attempt to read property “province” on null in /home/xxxxxxxx/public_html/wordpress/wp-content/plugins/the-events-calendar/src/views/v2/list/event/venue.php on line 27
[25-Oct-2024 16:59:12 UTC] PHP Warning: Attempt to read property “address” on null in /home/xxxxxxxx/public_html/wordpress/wp-content/plugins/the-events-calendar/src/views/v2/list/event/venue.php on line 28
[25-Oct-2024 16:59:12 UTC] PHP Warning: Attempt to read property “address” on null in /home/xxxxxxxx/public_html/wordpress/wp-content/plugins/the-events-calendar/src/views/v2/list/event/venue.php on line 28
[25-Oct-2024 16:59:12 UTC] PHP Warning: Attempt to read property “post_title” on null in /home/xxxxxxxx/public_html/wordpress/wp-content/plugins/the-events-calendar/src/views/v2/list/event/venue.php on line 32

==

I’m running the latest WP and plugin versions.

Can you advise what the problem would be?

Thanks,

Sal.

  • This topic was modified 15 hours, 23 minutes ago by sallymoos. Reason: more info

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer