Warning: Creating default object from empty value in /www/htdocs/w0101e77/wp-con

Home Forums Calendar Products Community Events Warning: Creating default object from empty value in /www/htdocs/w0101e77/wp-con

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41458
    clubbingpriest
    Participant

    We just change our server and we have a bug with the-events-calendar-community-events
    in the public form this error line appears:
    Warning: Creating default object from empty value in /www/htdocs/w0101e77/wp-content/plugins/the-events-calendar-community-events/lib/tribe-community-events.class.php on line 2103

    and when a event is submitted we have:
    Warning: Creating default object from empty value in /www/htdocs/w0101e77/wp-content/plugins/the-events-calendar-community-events/lib/tribe-community-events.class.php on line 1600

    The events are posted correctly but it is annoying to get this error line in the page

    The only thing different between the 2 server are the php and mysql version
    old server
    PHP version 5.3.20
    MySQL version 5.1.68-cll

    new server
    MYSQL Version : 5.5.28-nmm2-log
    PHP Version : 5.4.9-nmm1

    Can you advise

    #41505
    clubbingpriest
    Participant

    Warning Error – creating default object from empty value
    I did find the fix
    it is due to a setup on the virtual server
    solve the problem by adding the line
    ini_set( ‘display_errors’, 0 );
    in the wp-config.php
    Just tell in case it helps somebody else
    shared hosts always have display_errors on, helps keep the support costs and log size down. By default PHP has this set to 0 for production servers

    #41507
    Casey
    Participant

    Glad to hear you got this one resolved. Just let me know if you have further issues. Thanks!

    #978728
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Warning: Creating default object from empty value in /www/htdocs/w0101e77/wp-con’ is closed to new replies.