Support » Plugin: The Events Calendar » Fatal Error on events page after install

  • Resolved Dave2084


    I’ve just installed this plugin on a site I’m working on and I get the following error when I go to /events/ or /event/:

    Catchable fatal error: Object of class WP_Error could not be converted to string in /branch.4148/wp-includes/formatting.php on line 1025

    All the all wp-admin pages including the plugin ones seem fine and all site pages apart from /events/ and /event/ are fine.

    There’s definitely a conflict between the custom theme in use and the plugin; if I comment out the get_header from default_template.php then it sort of works (without any css/javascript).

    The theme is a custom legacy one we inherited from someone else and goes back to WP 3.2, it has a very complex taxonomy system that proved tricky to get working correctly with the shared taxonomy terms changes made in WP 4.2.

    If you have any pointers to track down the conflict, that would be great.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have fixed the error, this was caused by some old legacy code that was deigned to work with Share this to get an esc_html of a URL, which was returning a WP Error.

    This can be marked as resolved.

    Plugin Contributor nicosantos


    Thanks for the heads-up Dave and glad to hear you could sort this out 🙂

    could you please share how exactly you fixed this

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error on events page after install’ is closed to new replies.