• I have installed Storefront theme and it’s child theme Boutique and even before I get to do anything with it when I go to Customize I get the following Warning:
    Warning: Creating default object from empty value in /home/lorirae/public_html/wp-content/themes/storefront/inc/customizer/class-storefront-customizer.php on line 105
    I have tried deleting them and installing again. Previously I had the same setup and it was working fine until the latest WooCommerce theme update about a week ago. Any one experiencing this same issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi ceciliacaldas,

    This is only PHP warning, you can ignore it. You are seeing this because your server is initially set to display all warnings.

    Add this to your wp-config.php

    // Enable WP_DEBUG mode
    define( ‘WP_DEBUG’, false );

    // Enable Debug logging to the /wp-content/debug.log file
    define( ‘WP_DEBUG_LOG’, false );

    // Disable display of errors and warnings
    define( ‘WP_DEBUG_DISPLAY’, false );
    @ini_set( ‘display_errors’, 0 );

    Before you do this backup the wp-config.php file and check it for already present entries. Avoid duplicate entries.

    or use a plugin to set this. Also here is a list of tutorials for you: https://conschneider.de/troubleshooting-skills-using-debug-mode/

    Thread Starter ceciliacaldas

    (@ceciliacaldas)

    Thanks Con! I will try that.

    Thread Starter ceciliacaldas

    (@ceciliacaldas)

    Con,
    I edited the wp-config file as suggested but unfortunately I am still getting the error message:

    Warning: Creating default object from empty value in /home/lorirae/public_html/wp-content/themes/storefront/inc/customizer/class-storefront-customizer.php on line 105

    It doesn’t seem to be affecting the actual workings on the theme. I will see if it does once the shopping cart gets setup.
    Thanks for your suggestion.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Storefron child theme Boutique warning’ is closed to new replies.