This topic has 6 replies, 3 voices, and was last updated 5 years, 6 months ago ago by Olga Barlow
Hello, I have updated your theme xtsore and the xstore plugin but now I have some issue one the single product page. Can’t find from where is the issue. and the buy now button don’t open the checkout page as popup anymore…. so bad.
please help me.
Fatal error: Uncaught Error: Call to undefined function etheme_project_links() in /var/www/vhosts/clearance-usa.com/httpdocs/wp-content/themes/xstore/woocommerce/content-single-product.php:118 Stack trace: #0 /var/www/vhosts/clearance-usa.com/httpdocs/wp-includes/template.php(724): require() #1 /var/www/vhosts/clearance-usa.com/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(195): load_template(‘/var/www/vhosts…’, false) #2 /var/www/vhosts/clearance-usa.com/httpdocs/wp-content/themes/xstore/woocommerce/single-product.php(33): wc_get_template_part(‘content’, ‘single-product’) #3 /var/www/vhosts/clearance-usa.com/httpdocs/wp-includes/template-loader.php(78): include(‘/var/www/vhosts…’) #4 /var/www/vhosts/clearance-usa.com/httpdocs/wp-blog-header.php(19): require_once(‘/var/www/vhosts…’) #5 /var/www/vhosts/clearance-usa.com/httpdocs/index.php(17): require(‘/var/www/vhosts…’) #6 {main} thrown in /var/www/vhosts/clearance-usa.com/httpdocs/wp-content/themes/xstore/woocommerce/content-single-product.php on line 118
Hello,
Did you make changes in template files?
Please provide temporary FTP access.
Regards
I didn’t change anything from the update. I have 3 files in the child store theme. But if I’m not wrong these files are in the same version of files in the xstore theme.
Thank you for the help !
Hello,
Problem was caused by xstore-child/framework/theme-functions.php file.
1) Child theme version of the file is the out of date version.
2) You don’t need to copy the whole file with all the theme functions if you want to change only one of them. Copy only the code of the function that you want to change and add it to xstore-child/functions.php file, make the necessary changes, for example, http://prntscr.com/ntvpf8
I have commented out xstore-child/framework/theme-functions.php file and don’t see the error anymore. What function did you change there?
Regards
Hello ! thank you for usefull help and your great support. I really don’t remember why I did a copy of this file. All seems right now. Thank you again. Have a great day !
Hello,
Ok, great. Then you can just remove the xstore-child/_framework/ folder if you don’t need this.
Regards
You must be logged in to reply to this topic.Log in/Sign up