• Resolved bobbydemuro

    (@bobbydemuro)


    Just downloaded version 4.1 this morning on WordPress (InStyle theme), and immediately, I got two warnings on my dashboard (both identical):

    Warning: Creating default object from empty value in /home/bodemuro/bobbydemuro.com/wp-content/themes/InStyle/epanel/custom_functions.php on line 676

    I found line 676 in my epanel/custom_functions.php and it is:

    'body' => $send_to_api,

    For more context, lines 675-677 in my epanel/custom_functions.php are here:

    'timeout' => ( ( defined('DOING_CRON') && DOING_CRON ) ? 30 : 3),
    		'body'			=> $send_to_api,
    		'user-agent'	=> 'WordPress/' . $wp_version . '; ' . home_url()

    I’m not sure how to change that empty value, or do whatever I need to do, to get my site working again? I’m not even sure if that’s the correct line to be looking at – hopefully I’m at least looking at the right line. I have a feeling it’s a simple fix, but at present, it’s beyond me!

    Right now, I can’t edit anything on my site, I can’t add pages, I can’t do anything. It hasn’t taken my site down; it’s still operational, though it’s made it impossible to add anything to the site.

    I’ve looked at other forum posts on here with the similar “Warning: Creating default object from empty value…” issue and each problem seems to have a unique solution to that particular site. I don’t have an events manager on my site, which I’ve seen mentioned in a few of the forum posts from several years back.

    Any fixes? Thank you all in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    If you use a commercial theme and need support, please go to their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations.

    http://www.elegantthemes.com/contact.html

    Forum volunteers are also not given access to commercial products, so they would not know why your commercial theme is not working properly. This is one other reason why volunteers forward you to the commercial product’s vendors. The vendors are responsible for supporting their commercial product.

    Thread Starter bobbydemuro

    (@bobbydemuro)

    Thanks for the info James, I just contacted them about it!

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Creating default object from empty value warning’ is closed to new replies.