Support » Plugin: The Events Calendar » Error after update

  • The recent plugin update is returning these errors…please help.

    Warning: key() expects parameter 1 to be array, null given in /home/mobilegr/public_html/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 46

    Warning: reset() expects parameter 1 to be array, null given in /home/mobilegr/public_html/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 49

    Warning: Creating default object from empty value in /home/mobilegr/public_html/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 51

    Thank you!
    jmmkw

    https://wordpress.org/plugins/the-events-calendar/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Brook

    (@brook-tribe)

    Howdy Jmmkw,

    A few folks have been hitting that issue. We are working on a fix ASAP. The errors are actually quite useless and not indicating a real problem. The best solution available this minute is to just hide them. This can be done by setting WP_DEBUG and WP_DEBUG_DISPLAY to false in your wp-config.php file. http://codex.wordpress.org/Debugging_in_WordPress

    Did that work?

    Cheers!
    – Brook

    jmmkw

    (@jmmkw)

    Thank you for your quick response. I’ve set the wp_debug and wp_debug_display to false, but it’s still showing the errors.

    Plugin Author Brian

    (@brianjessee)

    Hi,

    Please update to The Events Calendar 4.2.1 that should fix the issue.

    Thanks

    jmmkw

    (@jmmkw)

    Thank you for your quick action on the issue!
    I’ve just updated the plugin. 2 of the warnings were removed except for this warning:

    Warning: Creating default object from empty value in /home/mobilegr/public_html/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 51

    I have edited the wp-config from:

    define(‘WP_DEBUG’, false);
    define( ‘WP_DEBUG_DISPLAY’, false );

    to:

    ini_set(‘log_errors’,’On’);
    ini_set(‘display_errors’,’Off’);
    ini_set(‘error_reporting’, E_ALL );
    define(‘WP_DEBUG’, false);
    define(‘WP_DEBUG_LOG’, true);
    define( ‘WP_DEBUG_DISPLAY’, false );

    and this removed the remaining warning.

    editor214

    (@editor214)

    Yes, same error here on 4.2.1

    Plugin Author geoffgraham

    (@geoffgraham)

    Hey there!

    So sorry for the continued trouble here. We’ve been unable to replicate the error messages in the latest 4.2.1 release.

    Will you please follow the steps outlined in this article? This will allow us to determine if there is a problem in our plugin or a conflict with the theme or other installed plugins.

    Let’s start there and see what we find!

    Any solution here? I just updated a client’s site to 4.2.1.1 and now have the following error message:

    Warning: Creating default object from empty value in /home/content/p3pnexwpnas04_data03/86/3135786/html/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 51

    WP 4.5.3
    Theme: King Power 1.09 (latest)

    Thank you

    Plugin Contributor Caroline

    (@tribecari)

    Hi @sbanner26,

    Thanks for chiming in, but to quote the forum guidelines:

    Posting your own topic is smiled upon.

    Can you please open up a new thread of your own? Before posting be sure to test for conflicts and provide as much information as you can to help us replicate the issue on our end. That will help us get started quickly.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.