Homepage › Forum › Product Support › Tayta › Site not working after theme and framework update
Tagged: tayta update
- This topic has 4 replies, 2 voices, and was last updated 1 year, 3 months ago by
Jackie.
-
AuthorPosts
-
1 year, 3 months ago #31403
Hello there,
I updated the theme and framework 30 min ago. after that website not working and getting 500 status code.
admin panel still working but i cant display site.
url: https://96i.e08.myftpupload.com/
regards.
1 year, 3 months ago #31404update: when i try to change something on elementor i am getting that error:
Uncaught Error: Call to undefined function is_cart() in /var/www/wp-content/themes/tayta/functions.php:34 Stack trace: #0 /var/www/wp-includes/class-wp-hook.php(324): enqueue_custom_mini_cart_refresh_script('') #1 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #2 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /var/www/wp-includes/script-loader.php(2263): do_action('wp_enqueue_scri...') #4 /var/www/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts('') #5 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #6 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /var/www/wp-includes/general-template.php(3065): do_action('wp_head') #8 /var/www/wp-content/themes/tayta/header.php(10): wp_head() #9 /var/www/wp-includes/template.php(810): require_once('/var/www/wp-con...') #10 /var/www/wp-includes/template.php(745): load_template('/var/www/wp-con...', true, Array) #11 /var/www/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #12 /var/www/wp-content/themes/tayta/page.php(12): get_header() #13 /var/www/wp-includes/template-loader.php(106): include('/var/www/wp-con...') #14 /var/www/wp-blog-header.php(19): require_once('/var/www/wp-inc...') #15 /var/www/index.php(17): require('/var/www/wp-blo...') #16 {main} thrownps: i am not using woocommerce and i deleted plugins about that before.
1 year, 3 months ago #31408Hi.
Thank you for your feedback.
Yes, the issue is when you don't use WooCommerce. Please go to this file:
wp-content/themes/tayta/functions.php line 34 and change the source code to :
if (class_exists( 'WooCommerce' ) && is_cart()) {
And recheck it.
Regards.
1 year, 3 months ago #31410Hi,
It worked, thank you for your answer.
But kindly request; can you add this fix to next main updates. Because website gets updates automatically on every update and i dont want to fix it manually everytime.
Regards.
1 year, 3 months ago #31413Yes, we will add the fix to the next update.
Regards.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.
