Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #1172713

    Hi
    I have been getting the error below for some time.
    Where does it come from?

    Warning: Creating default object from empty value in /home/httpd/vhosts/gewerbe-oberamt.ch/httpdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php on line 28

    Best regards

    Claudio

    #1172920

    Could this be related to the used PHP version? I started to get this error just today after updating from php 7.3.x to 7.4.1.

    Regards,
    Robert

    #1173069

    Hi Robert,

    I’m not sure, but it could be. Would you be able to test if the warning goes away if you activate 7.2 or 7.1? Also, did you try to disable all plugins? You could also check if you have debug enabled on your installation: https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#debug-mode

    Best regards,
    Rikard

    #1173284

    I’m still running PHP 7.4.1, but the theme upgrade to version 4.7.1 from last night fixed the problem. :)

    Regards,
    Robert

    #1173787

    Hi Robert,

    Great, I’m glad that the new version fixed things and thanks for the update. Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

    #1173898

    Thanks, Rikard, everything is fine here, now. :)

    What about you, Claudio? Did the theme update fix your problem aswell?

    Best,
    Robert

    #1173905

    Thanks it works fine now.
    best regards
    Claudio

    #1174742

    Hi Claudio,

    Great, I’m glad that things are back to normal. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1174891

    Hi Rikard,

    please allow me one follow-up question. The error was obviously related to the AVIA framework that’s bundled with Enfold and that is responsible for the advanced layout builder etc. The error however appeared on every single page of wordpress, on the frontend, and in admin, and often even twice. Shouldn’t the AVIA framework only be included, when it is needed in the first place? Why do we need to load several thousand lines of extra-code to display a settings page in admin? Or am I getting something wrong here?

    Regards,
    Robert

    #1175207

    Hi,

    That is an intrested feedback indeed and it is a good suggestion for our developers to optimize the resources.
    We will do give that to them.

    Best regards,
    Basilis

    #1212510

    Hi I am getting the same error however it has meant when I log into the WP admin, everything is text-based and I’m struggling to be able to actually see if I can update the theme etc. I’ve tried reverting the PHP version back to 7.1 and 7.2 and there is no change. Can someone please take a quick look for me and advise where I can fix the problem?

    Thanks so much

    Kristy

    #1212828

    Hi Kristy,

    You are getting 500 internal server errors on your WordPress backend. I’m not sure exactly why that is, but I don’t think it’s theme related. If you want to update to 4.7.4 then please try doing so via FTP: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update. You are currently running 4.6.1.

    Please try reaching out to your hosting provider to see if they can tell you why the server is throwing 500 errors on the WordPress backend.

    Best regards,
    Rikard

    #1214448

    I am running to same problem php 7.4 enfold 4.7.4

    #1214916

    Hi sag,

    Please open a new thread and include WordPress admin login details in private so that we can have a closer look at your site.

    Best regards,
    Rikard

    #1231662

    I have also the problem (php 7.4, enfold 4.7.5) is there a solution?

    Warning: Creating default object from empty value in /homepages/23/12345/htdocs/my-site/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php on line 28

    #1232279

    Hi,

    Thank you for the inquiry.

    Is this the code that you see on line 28 when you edit the avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php?

    	$this->config['forced_load_objects']	= array( 'layerslider' );		//	fallback only to make sure we load in case user overwrites this class and direct checks for shortcode might fail
    

    Best regards,
    Ismael

    #1240980

    I get the exact same error. And yes, line 28 looks like this:

    $class->config[‘forced_load_objects’] = array( ‘layerslider’ ); // fallback only to make sure we load in case user overwrites this class and direct checks for shortcode might fail
    ´
    I can’t get access to wp-admin.

    What to do?

    #1241121

    Did anyone found a solution to this problem?

    #1241630

    Hi,


    @malenejandersen
    : The site napartners contains an old version of the theme, v4.5. You have to upgrade it to the latest version, v4.7.6.3. If the issue persists after the update, please feel free to open a new thread and post the details in the private field.

    We’ll close this thread for now. Thank you for your patience.

    Best regards,
    Ismael

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Layerslider Warning: Creating default object from empty value’ is closed to new replies.