This topic has 10 replies, 4 voices, and was last updated 5 years, 3 months ago ago by Olga Barlow
Hey,
The new update of XStore Core has caused my website to display the following error “The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.”
I have confirmed it is the plugin by disabling it, by renaming it in the file manager, I was then able to log in to the website and try and activate the plugin, which again caused the same error.
Thanks
Hello,
Thanks for contacting us.
This error means you updated the XStore core plugin but did not update the theme.
As I can see, your site has the latest version of the theme (5.6) now. Do you have the problem with Core still?
Enable WP debug mode https://codex.wordpress.org/WP_DEBUG to find out what error appears on your site, it will point you in the right direction what needs to be fixed.
Regards
The theme is already up to date to version 5.6. Right now I have the plugin disabled, but when I try to activate it, I still get errors.
Did you make changes in the theme files?
Try to disable all the third-party plugins that do not come bundled with our theme https://www.8theme.com/documentation/xstore/plugins/included-plugins/ and check how it works then.
Let us know and provide temporary FTP access (host, username, password, port).
Regards
I disabled all plugins except for that one, and then one by one tried enabling the other plugins, when I got to WooCommerce, I got the same error. I haven’t made any code changes to the theme, apart from creating a child theme as part of the set up.
Thats happing to me 2 days ago.
When you enable “Debug mode” you wiil see WP complaining that the same function is defined in 2 pages. When you edit files you wiil see tha one has a “if function does not exists” in code and the other one doesnt have this peace of code. Just copy this missing peace code and the problem will be solved
Do you know which file I need to copy it from and which file I need to paste it to?
In my case, im was getting the error above
] PHP Fatal error: Cannot redeclare etheme_product_meta_boxes() (previously declared in /home/u468996019/domains/brincandodeadoleta.com.br/public_html/wp-content/plugins/et-core-plugin/inc/functions.php:57) in /home/u468996019/domains/brincandodeadoleta.com.br/public_html/wp-content/themes/xstore/framework/woo/video.php on line 9
[2
As you can see, the function “etheme_product_meta_boxes()” was declared in two files. In one of then, the function has a additional peace of code to test if the function was declared in another place, i just copied this peace of code to the other file.
Here is was the code looks like after the adjustment…
if ( !function_exists('etheme_product_meta_boxes') ) {
add_action('admin_init', 'etheme_product_meta_boxes');
function etheme_product_meta_boxes() {
add_meta_box( 'woocommerce-product-videos', esc_html__( 'Product Video', 'xstore' ), 'etheme_woocommerce_product_video_box', 'product', 'side' );
}
}
Thanks that fixed it, I had the same error.
Hello, @DvApps and @Alexnader
Problem appeared because you updated plugin and did not update theme. Never update plugin without theme update. We moved some options from theme to plugin files in the last theme/plugin update, so both should be updated. If you faced that error it means you just updated plugin to version 1.2.7 but did not update theme to version 5.6. To fix the error you need to update theme to version 5.6.
Regards
You must be logged in to reply to this topic.Log in/Sign up