• Customer

    PHP Fatal error from theme

    Posted by: developer587 Jun 20, 2022 at 13:31 (2 year ago)
    Hello
    I'm getting this fatar errors from the server about the theme everyday.
    I talked with the server host and they tell me that only you can help me.
    Please check it and help me.

    Except this,
    can I update my php version to 8 ?

    Thanks


    21818#0: *4324293 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ValueError: Unknown format specifier "?" in /var/www/vhosts/shopistic.gr/httpdocs/wp-content/themes/kute-boutique/framework/woocommerce/template-functions.php:515
    Stack trace:
    #0 /var/www/vhosts/shopistic.gr/httpdocs/wp-content/themes/kute-boutique/framework/woocommerce/template-functions.php(515): sprintf('\xCE\x88\xCF\x87\xCE\xB5\xCE\xB9\xCF\x82 % \xCE...', '0 item(s)...')
    #1 /var/www/vhosts/shopistic.gr/httpdocs/wp-includes/class-wp-hook.php(307): kute_boutique_header_cart_head('')
    #2 /var/www/vhosts/shopistic.gr/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 /var/www/vhosts/shopistic.gr/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /var/www/vhosts/shopistic.gr/httpdocs/wp-content/plugins/woocommerce/templates/cart/mini-cart.php(22): do_action('woocommerce_bef...')
    #5 /var/www/vhosts/shopistic.gr/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/var/www/vhosts...')" while reading response header from upstream

  • Customer

    Posted by: yame, Jun 21, 2022 at 02:04 (2 year ago)

    Hi @developer587

    I am on your site but I still do not see any problem.
    Could you take some screenshots to let me know the exact positions you get the error? Then I will check it again?

    Thank you!
    Regards,
    Yame
  • Customer

    Posted by: developer587, Jun 21, 2022 at 12:48 (2 year ago)

    Hello
    Here the screenshot attached.

    except this every day I'm getting this email from my Web Hosting Service
    wth title: WordPress Updates Digest
    and the mail is down below


    Updates were not installed for the following items:

    1. Website "Shopistic" (https://shopistic.gr): Failed to reset cache for the instance #412: PHP Fatal error: Uncaught Error: Call to undefined function kute_boutique_preview_options() in /var/www/vhosts/shopistic.gr/httpdocs/wp-content/themes/kute-boutique/shortcode/ovic_banner/config/wpbakery.php:18
    Stack trace:
    #0 /var/www/vhosts/shopistic.gr/httpdocs/wp-content/plugins/ovic-addon-toolkit/includes/classes/abstract-shortcode.php(253): Wpbakery_Ovic_Banner::visual_composer_include()
    #1 /var/www/vhosts/shopistic.gr/httpdocs/wp-includes/class-wp-hook.php(307): Ovic_Addon_Shortcode->install_WPBakery('')
    #2 /var/www/vhosts/shopistic.gr/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /var/www/vhosts/shopistic.gr/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /var/www/vhosts/shopistic.gr/httpdocs/wp-content/plugins/js_composer/include/classes/core/class-vc-manager.php(219): do_action('vc_before_init')
    #5 /var/www/vhosts/shopistic.gr/httpdocs/wp-includes/class-wp-hook.php(307): Vc_Manager->init('')
    #6 /var/www/vhosts/shopistic.gr/httpdocs/wp-includes/class-wp-hook.php in /var/www/vhosts/shopistic.gr/httpdocs/wp-content/themes/kute-boutique/shortcode/ovic_banner/config/wpbakery.php on line 18
    Fatal error: Uncaught Error: Call to undefined function kute_boutique_preview_options() in /var/www/vhosts/shopistic.gr/httpdocs/wp-content/themes/kute-boutique/shortcode/ovic_banner/config/wpbakery.php:18
    Stack trace:
    #0 /var/www/vhosts/shopistic.gr/httpdocs/wp-content/plugins/ovic-addon-toolkit/includes/classes/abstract-shortcode.php(253): Wpbakery_Ovic_Banner::visual_composer_include()
    #1 /var/www/vhosts/shopistic.gr/httpdocs/wp-includes/class-wp-hook.php(307): Ovic_Addon_Shortcode->install_WPBakery('')
    #2 /var/www/vhosts/shopistic.gr/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /var/www/vhosts/shopistic.gr/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /var/www/vhosts/shopistic.gr/httpdocs/wp-content/plugins/js_composer/include/classes/core/class-vc-manager.php(219): do_action('vc_before_init')
    #5 /var/www/vhosts/shopistic.gr/httpdocs/wp-includes/class-wp-hook.php(307): Vc_Manager->init('')
    #6 /var/www/vhosts/shopistic.gr/httpdocs/wp-includes/class-wp-hook.php in /var/www/vhosts/shopistic.gr/httpdocs/wp-content/themes/kute-boutique/shortcode/ovic_banner/config/wpbakery.php on line 18
    Error: A critical error occurred at this site. Learn more about debugging WordPress. A critical error occurred at this site.


    3 months before I update start using the updated version of theme,
    to do this I had the default wordpress theme for a couple of days and never get this errors
    When I put the theme I start getting again the erros.
    The same think tells me my host provider.
    Please check them.

    Thank you


  • Manager

    Posted by: yame, Jun 22, 2022 at 10:01 (2 year ago)

    Okay, let my coder check then I will inform you later
  • Manager

    Posted by: yame, Jun 24, 2022 at 02:36 (2 year ago)

    My coder said that you could update the PHP to version 8.
    The error occurred in your cPanel, not on the theme or backend of your site. We just develop the theme based on some default templates such as Elementor, and Woo. So we cannot intervene in your host's panel to check this.

    Hope you understand this. Thank you!
  • Customer

    Posted by: developer587, Jul 4, 2022 at 14:09 (2 year ago)

    Add to cart doesn't works when I use 8.1.7 or 8.0.20 PHP version
    It works only with 7.4.30
  • Manager

    Posted by: yame, Jul 5, 2022 at 02:38 (2 year ago)

    Excuse me, I don't understand.
    I see the Add to cart process is still working: https://prnt.sc/ikxTYQMB3xV4
    Or are you using version 7.x?
    So, please let it to be error then we will check again for you
  • Customer

    Posted by: developer587, Jul 5, 2022 at 22:06 (2 year ago)

    It's working because I'm using the 7.4.30 PHP version
    When I use one of the PHP 8 version doesen't works
  • Manager

    Posted by: yame, Jul 6, 2022 at 02:34 (2 year ago)

    So we need to check the error on your site. Now you are using the lower version of PHP so the Add to cart function still works and we cannot check anything.

INSTALLATION SERVICE

Theme Installation: $49. Pay now

CUSTOMIZED SERVICES

Use our expert service to turn your ideas into reality. Please send an email to kutethemes@gmail.com to provide the more detailed information. Thanks!

WORKING TIME

Our support service works from Monday to Friday.
Mean time (GMT +7):
+ 7:30 - 11:30 AM
+ 1:30 - 5:30 PM
We will try to answer all the questions within 24 hours and solve them as quickly as possible