Tons of Warning messages in error Log upon upgrading to version 4.2

Home Forums Calendar Products Events Calendar PRO Tons of Warning messages in error Log upon upgrading to version 4.2

Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • #1124520
    Michelle
    Participant

    Upgraded to Events Calendar Pro v4.2 and now my error_log is getting killed with the following

    [Thu Jun 09 15:39:16.715944 2016] [:error] [pid 30780] [client 70.91.74.58:61750] PHP Warning: Creating default object from empty value in /var/www/html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 51
    [Thu Jun 09 15:39:16.817524 2016] [:error] [pid 30780] [client 70.91.74.58:61750] PHP Warning: key() expects parameter 1 to be array, null given in /var/www/html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 46
    [Thu Jun 09 15:39:16.817545 2016] [:error] [pid 30780] [client 70.91.74.58:61750] PHP Warning: reset() expects parameter 1 to be array, null given in /var/www/html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 49
    [Thu Jun 09 15:39:16.817553 2016] [:error] [pid 30780] [client 70.91.74.58:61750] PHP Warning: Creating default object from empty value in /var/www/html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 51
    [Thu Jun 09 15:39:16.824828 2016] [:error] [pid 30780] [client 70.91.74.58:61750] PHP Warning: key() expects parameter 1 to be array, null given in /var/www/html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 46
    [Thu Jun 09 15:39:16.824900 2016] [:error] [pid 30780] [client 70.91.74.58:61750] PHP Warning: reset() expects parameter 1 to be array, null given in /var/www/html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 49
    [Thu Jun 09 15:39:16.824956 2016] [:error] [pid 30780] [client 70.91.74.58:61750] PHP Warning: Creating default object from empty value in /var/www/html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 51
    [Thu Jun 09 15:40:31.281433 2016] [:error] [pid 30813] [client 66.249.66.143:44613] PHP Warning: key() expects parameter 1 to be array, null given in /var/www/html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 46
    [Thu Jun 09 15:40:31.281473 2016] [:error] [pid 30813] [client 66.249.66.143:44613] PHP Warning: reset() expects parameter 1 to be array, null given in /var/www/html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 49
    [Thu Jun 09 15:40:31.281478 2016] [:error] [pid 30813] [client 66.249.66.143:44613] PHP Warning: Creating default object from empty value in /var/www/html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 51
    [Thu Jun 09 15:41:46.765135 2016] [:error] [pid 30824] [client 66.249.66.143:58080] PHP Warning: key() expects parameter 1 to be array, null given in /var/www/html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 46
    [Thu Jun 09 15:41:46.765174 2016] [:error] [pid 30824] [client 66.249.66.143:58080] PHP Warning: reset() expects parameter 1 to be array, null given in /var/www/html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 49
    [Thu Jun 09 15:41:46.765183 2016] [:error] [pid 30824] [client 66.249.66.143:58080] PHP Warning: Creating default object from empty value in /var/www/html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 51

    We upgraded EventsCalendar Pro, Filter Bar, Import iCal Feed plugins and this started happening

    #1124554
    George
    Participant

    I’m really sorry to hear about this! I don’t have these errors on my own site, so to help investigate a bit, would you mind posting your site’s “System Information”? Here’s how to do that ? https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    I’ll take a look at that information and will reach out to our developers for some insight as to why this might be happening in the meantime.

    Thank you!
    George

    #1124607
    Michelle
    Participant

    This reply is private.

    #1124797
    George
    Participant

    This reply is private.

    #1124839
    Kevin
    Participant

    We are getting the exact same thing. Tons of these entries in our error log:

    [Thu Jun 09 22:03:46.418184 2016] [:error] [pid 28950] [client 185.53.44.67:60122] PHP Warning: key() expects parameter 1 to be array, null given in /nas/content/live/mysite/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 46
    [Thu Jun 09 22:03:46.418469 2016] [:error] [pid 28950] [client 185.53.44.67:60122] PHP Warning: reset() expects parameter 1 to be array, null given in /nas/content/live/mysite/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 49
    [Thu Jun 09 22:03:46.418618 2016] [:error] [pid 28950] [client 185.53.44.67:60122] PHP Warning: Creating default object from empty value in /nas/content/live/mysite/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 51

    #1125050
    Chris Claghorn
    Participant

    Same exact errors here. They only appear when on main events listing page when in “month” view.

    #1125211
    George
    Participant

    I’m really sorry about this, folks!

    I admit to being a stumped, because I have tried reproducing these error notices to no avail thus far.

    That being said, I’ve gone ahead and made a bug ticket for our developers to explore this and take a closer look at the issues.

    Please stay tuned to this thread—I will mark it “Pending Fix” for now and will post any updates on these issues as I learn them.

    Thank you for your patience!
    George

    #1125280
    Kurt
    Participant

    This reply is private.

    #1125281
    Kurt
    Participant

    Just noticed, the error messages only show up on the main calendar page, not on the event detail pages.

    #1125284
    Michelle
    Participant

    Not sure if this might help, as I don’t know if this happened after I did a bulk update on events on not. But I did a bulk update to over 50 events to update the category of them. After I did that, I noticed the calendar running awfully slow and I checked the error_log and that is when I found all of the notices. For me on both of the functions that where producing the errors, I simply edited the functions and just return true; at the very top of the function and the errors go away, I don’t see any different issues on the front-end other than it running very slow.

    Figured any info I could give you would be helpful.

    #1125365
    George
    Participant

    Thank you all for reporting this! We’re working on this urgently given the number of you who’ve come forward with this issue. Stay tuned to this thread for updates!

    — George

    #1126679
    Michelle
    Participant

    George,
    Do we have any updates on this at all?

    #1126699
    Kurt
    Participant

    This was just posted to the thread on this problem on wordpress.org. I downgraded to version 4.1.4 and will wait for the next release.

    ~~ Grey

    —–
    Brian wrote:

    Hi,
    Sorry for the issues you are having and for the late reply here.
    The messages are warnings and do not break the plugin, but there are an annoyance and can be removed.
    It is recommended that all live sites not show PHP Errors, Warnings, and Notices.
    You can do that with your PHP.ini or in WordPress.
    To do that in your wpconfig.php file replace this:
    define(‘WP_DEBUG’, false);
    with this:
    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);
    That coding comes from this article:
    https://aristath.github.io/blog/wp-hide-php-errors
    That should hide the warnings for now and there will be a fix in 4.2.1, which we are working on.
    You can also downgrade to 4.1.4 if you like.
    You can download older versions of the core plugin here:
    https://wordpress.org/plugins/the-events-calendar/developers/
    And follow these steps for a manual change:
    https://theeventscalendar.com/knowledgebase/manual-updates/
    Thanks

    #1127308
    George
    Participant

    Thank you for posting this, @Kurt!

    I would that recommend that fix shared by Brian to anyone who still has these error messages; they don’t solve the problem, per se, but will at least hide the error messages while our developers work on a fix.

    Sorry for the trouble here!
    George

    #1130622
    Geoff
    Member

    Hey folks,

    Just want to drop a quick note in here to let you know that The Events Calendar 4.2.1 is about to release any moment and it will include a patch for this issue. Please update and let us know if you continue to hit any trouble.

    Thanks so much for your patience while we worked on this!

    Cheers,
    Geoff

Viewing 15 posts - 1 through 15 (of 26 total)
  • The topic ‘Tons of Warning messages in error Log upon upgrading to version 4.2’ is closed to new replies.