• Hi. We have got a fatal error:

    [15-Apr-2024 18:04:36 UTC] PHP Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in /www/site/public/wp-content/plugins/the-events-calendar-shortcode/block/init.php:140

Viewing 1 replies (of 1 total)
  • Plugin Author Brian Hogg

    (@brianhogg)

    Hi @maxpixel,

    Thanks for the note! We’re not able to replicate this error however, so there may be something corrupted with the page you’ve added the block on or possibly a conflict with another plugin or theme.

    If you create a new page and add the block there, do you receive an error? Also if you delete and re-add the block on that page, does the error persist?

    If neither of these work, you can do the following steps to check for a conflict:

    1. Ensure you have a backup of your site in case there are any issues when disabling/enabling plugins or your theme
    2. Disable all plugins (except your calendar plugin and this plugin), and switch to a default theme like Twenty Twenty then verify the issue is resolved. You might need to add the shortcode to a new page if you’re currently using a page builder.
    3. Re-enable your plugins and switch back to your previous theme one by one verifying if the issue is still occurring, and note which one causes it to break

    If you let us know which plugin/theme causes the issue we may be able to come up with a workaround, but most likely you’ll also need to contact the theme or plugin author and have them fix the issue.

    Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error’ is closed to new replies.