• I’m getting this warning when an item on “The Events Calendar” is selected Warning: CoBlocks::{closure}(): Argument #1 ($post) must be passed by reference, value given in /var/www/wp-includes/class-wp-hook.php on line 326

    The error goes away when CoBlocks is Deactivated. “The Events Calendar” plugin can’t be deactivated because there wouldn’t be any item to select. My site still seems to work with just the addition of an annoying warning meesage.

    I found a similar error in the forum but it was closed

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Milos Vlaisavljevic

    (@gdmilos)

    Hello @cxzei,

    Thanks for reaching out and sorry for the delayed response.

    I’ve checked your site and haven’t noticed the mentioned issue so it seems that you’ve fixed the issue in the meantime. There should be no compatibility issues between CoBlocks and The Events Calendar plugins so as long as you have the latest versions of those plugins active on your site, both plugins should work just fine.

    The mentioned warning is not something you should be worried about – warnings in WordPress are quite common and do not have negative impact on site’s functionalities. To hide their appearance on the front of your site, make sure to deactivate the debug mode in the wp-config.php file. This is how you can do that:

    https://blogvault.net/debugging-in-wordpress/

    I hope this helps. ??

    Best,

    Milos

Viewing 1 replies (of 1 total)
  • The topic ‘Warning: CoBlocks::{closure}()’ is closed to new replies.