Support » Plugin: The Events Calendar » [Plugin: The Events Calendar] Fatal Error

  • Using WP 3.0.2
    When trying to activate I get this error:
    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 /var/www/vhosts/ on line 795

    Thoughts? I would really like to use this plugin.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Could this happen because of another plugin? I have been testing other calendar scripts and activated and deactivated this plugin.
    Anyone have a comment?




    What’s on line 795 of that file? Is it this?

    $base = str_replace( trailingslashit( get_option( 'siteurl' ) ), '', $url );

    If so, try replacing it with this:

    $base = trailingslashit( str_replace( trailingslashit( get_option( 'home' ) ), '', $url ) );


    Thanks for your reply. I changed the code on line 795 and it gives the same error.



    In the General Settings Administration panel what do you have for WordPress address (URL) and Site address (URL)?

    Are you using any Permalink Settings? If so does it work if you switch the permalinks to Default?

    That section of the plugin is where it generates a lot of rewrite rules specific for the event category and dates.



    I had the same problem, i solved it:
    – disable the plugin;
    – set Permalink Settings ad Default
    – re-enable Plugin

    the problem is obiouvsly that you must use Default permalink.
    I hope that they will fix this problem

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: The Events Calendar] Fatal Error’ is closed to new replies.