[Plugin: The Events Calendar] Error on Activation
-
Hi.
Here’s the skinny: I’m up to date with 3.0.4 and am having trouble getting the calendar installed. When I go to activate it, I get the following:Plugin could not be activated because it triggered a fatal error.
Catchable fatal error: Object of class WP_Error could not be converted to string in /home/gneurath/public_html/wp/wp-content/plugins/the-events-calendar/the-events-calendar.class.php on line 795
My theme is a slightly modified version of the Weaver 2010.
A little background: I’m running a mirror of my site on a different shared server so I can test/tweak themes and plugins before I put them into production. The mirror has the EXACT same server profile and configs. PHP, MySQL, APACHE, etc, are all identical in version and configuration. The only difference in the configuration of WordPress is that the mirror runs a child theme, the publicly viewable site doesn’t yet.
What’s strange is that the Events Calendar installs and works just fine on the mirror, but not on the public site. I’ve gone through the configs, plugins (and their versons) with a pretty fine toothed comb and can’t find anything that might cause this. I even tried reverting the mirror site back to the original theme to see what happens: it still installs just fine on the mirror.
I can’t get the calendar to install on the public site, even when I deactivate all but the essential plugins.
My limited troubleshooting: I’m not a programmer and don’t have a code editor, but after finding Line 795, this is what I came up with.
$base = str_replace( trailingslashit( get_option( ‘siteurl’ ) ), ”, $url );
The ‘siteurl’ led me to consider how I have the domain set up. I have an .htaccess redirect set up to refer requests from the root web directory on my server to “root/wp” folder. I don’t know if this is relevant or not, just wanted to get all the info posted here.
Any ideas?
The topic ‘[Plugin: The Events Calendar] Error on Activation’ is closed to new replies.