Start a new topic

PHP Warning: Invalid argument supplied for foreach() in \wp-content\plugins\modern-events-calendar-lite\app\libraries\factory.php on line 1035

Hello!


I have a client's website that has been throwing these errors as recent as today. See below for a snippet from the logs (path to root has been removed for privacy):


[15-Jul-2024 12:56:14 UTC] PHP Warning: Invalid argument supplied for foreach() in \wp-content\plugins\modern-events-calendar-lite\app\libraries\factory.php on line 1035
[31-Jul-2024 12:33:01 UTC] PHP Warning: Invalid argument supplied for foreach() in \wp-content\plugins\modern-events-calendar-lite\app\libraries\factory.php on line 1035
[31-Jul-2024 12:37:18 UTC] PHP Warning: Invalid argument supplied for foreach() in \wp-content\plugins\modern-events-calendar-lite\app\libraries\factory.php on line 1035
[31-Jul-2024 12:49:00 UTC] PHP Warning: Invalid argument supplied for foreach() in \wp-content\plugins\modern-events-calendar-lite\app\libraries\factory.php on line 1035

 

And please see here for some site specs:

  • WordPress version 6.5.5
  • Active theme: Hello Elementor


Plugins: 

  • Advanced Custom Fields PRO Version 5.8.6 by Elliot Condon (Latest version: 6.3.4) | Auto-updates disabled

  • Contact Form DB - Elementor Version 1.8.1 by Web Ace Tech Services
  • Custom Post Type UI Version 1.17.1 by WebDevStudios
  • Disable Comments Version 2.4.6 by WPDeveloper
  • Elementor Version 3.22.3 by Elementor.com (Latest version: 3.23.3)
  • Elementor Pro Version 3.23.2 by Elementor.com | Auto-updates enabled
  • Element Pack Lite - Addons for Elementor Version 5.7.1 by BdThemes
  • Essential Addons for Elementor Version 5.9.27 by WPDeveloper
  • EWWW Image Optimizer Version 7.7.0 by Exactly WWW (Latest version: 7.8.0)
  • FakerPress Version 0.6.6 by Gustavo Bordoni
  • ManageWP - Worker Version 4.9.20 by GoDaddy
  • Modern Events Calendar Lite Version 5.2.6 by Webnus Team
  • Wordfence Security Version 7.11.7 by Wordfence
  • WP Fastest Cache Version 1.2.9 by Emre Vona
  • WP Job Manager Version 2.3.0 by Automattic
  • WP Mail SMTP Version 4.1.0 by WP Mail SMTP
  • WP Migrate Version 2.6.13 by WP Engine
  • Yoast SEO Version 23.1 by Team Yoast



Is this something that can be resolved in a future update? Thank you!


Hello,


Thank you for posting on our forums. 

You are using a very old version of MEC. Please update MEC from this link: https://mec.webnus.net/


Let us know if the issue persists.


Best,

Webnus Team

Great, thank you!

Login or Signup to post a comment