• Resolved kernoelpepi

    (@kernoelpepi)


    Hi,

    I run on my startpage of http://www.kernoelpepi.com the plugin “Page Builder by SiteOrigin” in combination with “SiteOrigin Widgets Bundle”.
    After the last update in the end of the last week i have the problem on the startpage, that it does not load completely. A part of the content is missing and the whole footer area. Additionally all the pictures of the slider are shown together among each other instead of varying in the slider.
    The footer is shown, when a subpage is accessed.
    This behaviour is shown on desktop computer (tested on chrome and MS Edge) and Android cell phone.
    Other systems haven´t been tested.
    On the android phone additionally the menu for entering the subpages does not work. The menu entries are even not shown, when i press on the button with the 3 lines.

    When the plugin “SiteOrigin Widgets Bundle” gets deactivated (“Page Builder by SiteOrigin” keeps activated) in the wordpress backend, a part of the startpage gets loaded and the footer comes back.
    When the plugin “Page Builder by SiteOrigin” gets deactivated (“SiteOrigin Widgets Bundle” keeps activated) the footer is still missing and the whole content of the startpage (which is logical bevause the whole content of the startpage was built up with this plugin)
    By the way, only the startpage on http://www.kernoelpepi.com was built with those 2 plugins. All the other subpages manage without it. Thats propably the reason why all of them are still working.

    For all of you who wan´t to have a direct look on http://www.kernoelpepi.com:
    “SiteOrigin Widgets Bundle” and “Page Builder by SiteOrigin” are both activated at the moment!

    Does anybody of you know how to get rid of this problem?

    Many thanks in advance,

    Pepi

    • This topic was modified 7 years, 9 months ago by kernoelpepi.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 28 total)
  • Plugin Support Andrew Misplon

    (@misplon)

    Hi Pepi

    Sorry to hear about this. Please, try some testing with me to find the problem.

    Temporarily deactivate all plugins except for Page Builder and Widgets Bundle and test the site, does the footer return?

    Thread Starter kernoelpepi

    (@kernoelpepi)

    Hi Andrew,

    Many thanks for your fast response!
    I already have deactivated all plugins except the two ones: Page Builder and Widgets Bundle.
    The problem now is, that the page http://www.kernoelpepi.com is not reachable anymore 🙁
    http error 500

    What shall i do now to bring it back to life again?
    At the moment i am just able to connect via ftp to the webserver …

    Many thanks in advance!

    Pepi

    Plugin Support Andrew Misplon

    (@misplon)

    Sorry to hear this. I’m on my phone, back at laptop in an hour.

    Please download wp-config.php to your desktop and enable debug:
    https://codex.wordpress.org/Debugging_in_WordPress

    Once debug is set to true the 500 error should change to something more detailed that you can hopefully fix. If for example you added a WooCommerce function that doesn’t first check to see if WooCommmerce is active then deactivating WC will throw an error. In that event, adding a check to the function in your child theme would fix this. If you can enable debug and get an error we can point you in the right direction.

    Plugin Support Andrew Misplon

    (@misplon)

    Hi Pepi

    Have you had a chance to enable WP debug yet? Thanks.

    Thread Starter kernoelpepi

    (@kernoelpepi)

    Not yet!
    I have time in about 1 hour!

    Thanks, Pepi

    Plugin Support Andrew Misplon

    (@misplon)

    Super 🙂 Chat then.

    Thread Starter kernoelpepi

    (@kernoelpepi)

    Ok Andrew.

    Now i inserted the following in wp_config.php BEFORE /* That’s all, stop editing! Happy blogging. */

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

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

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

    // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
    define( ‘SCRIPT_DEBUG’, true );

    And set this to true:
    define( ‘WP_DEBUG’, true );

    Now nothing (a white screen) is shown at http://www.kernoelpepi.com
    What did i made wrong?

    Thanks, Pepi

    Thread Starter kernoelpepi

    (@kernoelpepi)

    it works now!
    i also put define( ‘WP_DEBUG_DISPLAY’, false ); to true and now it shows the following:

    Fatal error: Call to undefined function is_product() in /var/www/web170/html/wp-content/themes/storefront-child-theme-master/functions.php on line 68

    Plugin Support Andrew Misplon

    (@misplon)

    Ok great, please, show me the function that is on line 68 in your child functions.php file, the full function, please.

    Thread Starter kernoelpepi

    (@kernoelpepi)

    This is the Code in the file “html/wp-content/themes/storefront-child-theme-master/functions.php” around line 68:

    67: add_action( ‘get_header’, ‘remove_storefront_sidebar’ );
    68: if ( is_product() ) {
    69: remove_action( ‘storefront_sidebar’, ‘storefront_get_sidebar’, 70: 10 );
    }

    Plugin Support Andrew Misplon

    (@misplon)

    Try replacing the above function with:

    if ( function_exists( 'is_woocommerce' ) ) {
    
    	if ( is_product() ) {
    		remove_action( 'storefront_sidebar', 'storefront_get_sidebar',	70: 10 );
    	}
    
    }

    If you have other WooCommerce dependent functions, you can insert them within this conditional. Basically, we have to check if WooCommerce is active before we use functions that only exist within WooCommerce like is_product.

    Thread Starter kernoelpepi

    (@kernoelpepi)

    http://www.kernoelpepi.com is online again 🙂
    all plugins except “SiteOrigin Widgets Bundle” and “Page Builder by SiteOrigin” are still deactivated!

    Plugin Support Andrew Misplon

    (@misplon)

    And still, no footer appears. Ok so next step is switch back to the parent theme, does the footer appear then?

    Thread Starter kernoelpepi

    (@kernoelpepi)

    how can i deactivate the “storefront child theme”?

    will all settings stored that they are available after switching on the child theme later again?

    Plugin Support Andrew Misplon

    (@misplon)

    From Appearance > Themes, switch to Storefront. Yes, all settings will still be there when you switch back.

Viewing 15 replies - 1 through 15 (of 28 total)

The topic ‘startpage does not load completely’ is closed to new replies.