Originally from ticket #1185.
I installed The Events Calendar plug-in, and on the page I specified for the calendar URL, I got the following error messages:
Warning: Invalid argument supplied for foreach() in /nfs/c07/h01/mnt/99231/domains/wildernesstorah.org/html/wp-content/themes/belief/lib/php/main.php on line 713
Fatal error: Call to a member function render_header() on a non-object in /nfs/c07/h01/mnt/99231/domains/wildernesstorah.org/html/wp-content/themes/belief/header.php on line 322
Is it possible that the Belief theme is using some of the same function names as The Events Calendar plug-in (i.e. "event" or "events") and that is causing an incompatibilty?
I just fixed my problem, by changing the setting "events template" in the TEC settings to use "Default page template" instead of "default events template".
It appears that "default events template" collides with TEC somehow.
In case it is helpful to any other users. =)