Critical error in theme - by tyms94 - on WordPress WooCommerce support

This topic has 4 replies, 3 voices, and was last updated 3 years, 1 months ago ago by Rose Tyler

  • Avatar: tyms94
    tyms94
    Participant
    October 8, 2021 at 07:43

    Hi
    If I turn off the xstore core plugin or theme, I get a critical page error.
    Xstore core: 4.0.7
    theme xstore; 8.0.7
    What I have to do? it is very important

    Error details
    ===================
    An E_ERROR error occurred on line 1509 of the file
    /home/alleseo/websites/wp_1/wp-content/themes/xstore/framework/theme-functions.php. Komunikat błędu: Uncaught Error: Call to undefined function write_log() in /home/alleseo/websites/wp_1/wp-content/themes/xstore/framework/theme-functions.php:1509
    Stack trace:
    #0 /home/alleseo/websites/wp_1/wp-content/themes/xstore/framework/woo.php(1690): etheme_is_catalog()
    #1 /home/alleseo/websites/wp_1/wp-includes/class-wp-hook.php(303): etheme_catalog_setup(”)
    #2 /home/alleseo/websites/wp_1/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #3 /home/alleseo/websites/wp_1/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /home/alleseo/websites/wp_1/wp-settings.php(556): do_action(‘after_setup_the…’)
    #5 /home/alleseo/websites/wp_1/wp-config.php(92): require_once(‘/home/alleseo/w…’)
    #6 /home/alleseo/websites/wp_1/wp-load.php(50): require_once(‘/home/alleseo/w…’)
    #7 /home/alleseo/websites/wp_1/wp-login.php(12): require(‘/home/alleseo/w…’)
    #8 {main}
    thrown

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 8, 2021 at 15:32

    Hello,

    We’ll fix the issue in the next theme update. Meanwhile, edit the xstore/framework/theme-functions.php file and just remove that line https://prnt.sc/1v0zvs8

    Take our apologies for the inconvenience.

    Regards

    Avatar: tyms94
    tyms94
    Participant
    October 9, 2021 at 12:57

    I fixed line 1509, but only this website has persistent problems (and only here I have fatal bug from xstore theme).
    I have a plugin that imports products from the marketplace – it doesn’t work, the plugin doesn’t import products

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 9, 2021 at 15:24

    Hello,

    1/ Describe the problem in more detail. Provide temporary wp-admin and FTP access, please.
    2/ What exactly plugin? Please note that we do not give a guaranty for full theme compatibility with all existing 3rd party plugins. Sometimes, not always, you need additionally customize the theme or plugin to make them work together. Unfortunately, it’s not possible for the author to make the theme compatible with all the existing plugins and additional customization is outside the scope of our support.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘critical error in theme’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.