500 Error – Astra 1.2.7
-
The latest release of Astra crashes my site and returns a 500 error!
I’ve already rolled back to 1.2.6 which works, but this is really quite the problem if it’s released like this!Thanks for looking into it in advance.
-
Hello @rafaeldejongh,
Thank you for the report. We have temporarily reverted the update and will get this fixed ASAP.
Thanks for the fast reply! Here is the error in case you were wondering what caused the 500 error:
[Thu Mar 29 12:35:13.666445 2018] [proxy_fcgi:error] [pid 9978:tid 140204769732352] [client 84.197.125.141:60916] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'ElementorPro\\Modules\\ThemeBuilder\\Module' not found in /var/www/vhosts/themovielot.com/httpdocs/wp-content/themes/astra/inc/compatibility/class-astra-elementor-pro.php:144\nStack trace:\n#0 /var/www/vhosts/themovielot.com/httpdocs/wp-includes/class-wp-hook.php(286): ElementorPro\\Modules\\ThemeBuilder\\ThemeSupport\\Astra_Elementor_Pro->override_meta(Object(WP))\n#1 /var/www/vhosts/themovielot.com/httpdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)\n#2 /var/www/vhosts/themovielot.com/httpdocs/wp-includes/plugin.php(515): WP_Hook->do_action(Array)\n#3 /var/www/vhosts/themovielot.com/httpdocs/wp-includes/class-wp.php(726): do_action_ref_array('wp', Array)\n#4 /var/www/vhosts/themovielot.com/httpdocs/wp-includes/functions.php(960): WP->main('')\n#5 /var/www/vhosts/themovielot.com/httpdocs/wp-blog-header.php(16): wp()\n#6 /var/www/vhosts/themovielot.com/httpdocs/index.php(17): require('/var/www/vhosts...')\n#7 {main}\n thrown in /var/www/vhos...\n'
I also have another error which might explain a bit more regarding the problem I e-mailed you about (which I’ve yet to receive an answer on):
[Thu Mar 29 00:18:19.101147 2018] [proxy_fcgi:error] [pid 10353:tid 140204769732352] [client 62.205.118.36:36174] AH01071: Got error 'PHP message: product_type was called incorrectly. Product properties should not be accessed directly. Backtrace: do_action('wp_ajax_elementor_ajax'), WP_Hook->do_action, WP_Hook->apply_filters, Elementor\\Core\\Ajax_Manager->handle_ajax_request, call_user_func, Elementor\\Widgets_Manager->ajax_render_widget, Elementor\\Core\\Base\\Document->render_element, Elementor\\Widget_Base->render_content, ElementorPro\\Modules\\Woocommerce\\Skins\\Skin_Classic->render, wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.\nPHP message: product_type was called incorrectly. Product properties should not be accessed directly. Backtrace: do_action('wp_ajax_elementor_ajax'), WP_Hook->do_action, WP_Hook->apply_filters, Elementor\\Core\\Ajax_Manager->handle_ajax_request, call_user_func, Elementor\\Widgets_Manager->ajax_render_widget, Elementor\\Core\\Base\\Document->render_element, Elementor\\Widget_Base->render_content, ElementorPro\\Modules\\Woocommerce\\Skins\\Skin_Classic->render, wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.\nPHP message: product_type was called incorrectly. Product properties should not be accessed directly. Backtrace: do_action('wp_ajax_elementor_ajax'), WP_Hook->do_action, WP_Hook->apply_filters, Elementor\\Core\\Ajax_Manager->handle_ajax_request, call_user_func, Elementor\\Widgets_Manager->ajax_render_widget, Elementor\\Core\\Base\\Document->render_element, Elementor\\Widget_Base->render_content, ElementorPro\\Modules\\Woocommerce\\Skins\\Skin_Classic->render, wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.\nPHP message: product_type was called incorrectly. Product properties should not be accessed directly. Backtrace: do_action('wp_ajax_elementor_ajax'), WP_Hook->do_action, WP_Hook->apply_filters, Elementor\\Core\\Ajax_Manager->handle_ajax_request, call_user_func, Elementor\\Widgets_Manager->ajax_render_widget, Elementor\\Core\\Base\\Document->render_element, Elementor\\Widget_Base->render_content, ElementorPro\\Modules\\Woocommerce\\Skins\\Skin_Classic->render, wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.\n', referer: https://themovielot.com.136-144-155-100.lonelyalien.com/wp-admin/post.php?post=10&action=elementor
Hope this can help to solve either of both errors!
Thank you very much for this information @rafaeldejongh,
We have updated the theme to v1.2.7.2 which fixes this issue.
I can confirm that this update fixes the 500 error.
However the other problem of mine still persist but I’ll make another thread about this and mark this as resolved.Thanks for the swift changes!
Do open up a new issue for the problems that you are facing @rafaeldejongh.
Hi @brainstormforce:
I have the same issue, i updated astra theme and it went to maintenance mode. But it is not coming out of it. after waited for long i deleted the .maintenance file. It is still not working. Could you please help how to fix it? I can’t even login to dashboard.
You immediate attention is appreciated.
Hello @sumitkmondal,
Can you give the URL of the site so that I can check what exactly is the error?
Can you also enable WP_DEBUG – https://codex.www.ads-software.com/WP_DEBUG
yes it is https://www.lasorigin.com.
I am very new to wordpress, let me try the debug option.
Thanks for your quick response @nikschavan.
Hi @nikschavan,
Found below error message while in debug mode.
Warning: require_once(/home/vol15_3/epizy.com/epiz_22372507/htdocs/wp-content/themes/astra/inc/class-astra-after-setup-theme.php): failed to open stream: No such file or directory in /home/vol15_3/epizy.com/epiz_22372507/htdocs/wp-content/themes/astra/functions.php on line 72
Fatal error: require_once(): Failed opening required ‘/home/vol15_3/epizy.com/epiz_22372507/htdocs/wp-content/themes/astra/inc/class-astra-after-setup-theme.php’ (include_path=’.:/usr/share/pear/’) in /home/vol15_3/epizy.com/epiz_22372507/htdocs/wp-content/themes/astra/functions.php on line 72
Seems like the theme is broken, I have backed up all files, but not sure which one should i upload. Could you please suggest?
The theme seems incomplete on your site. The update must not have completed correctly.
You can download the theme manually from www.ads-software.com and install it using your FTP.
Thanks @nikschavan,
It worked, i found the /htdocs/wp-content/themes/astra/inc/class-astra-after-setup-theme.php file was missing, i reloaded the file from my backup. and it started working.
Thanks you so much for help.
- The topic ‘500 Error – Astra 1.2.7’ is closed to new replies.