Issue after update of theme and core plugin

This topic has 6 replies, 3 voices, and was last updated 5 years, 6 months ago ago by Olga Barlow

  • Avatar: graphics
    graphics
    Participant
    May 26, 2019 at 19:53

    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

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 26, 2019 at 20:17

    Hello,

    Did you make changes in template files?
    Please provide temporary FTP access.

    Regards

    Avatar: graphics
    graphics
    Participant
    May 27, 2019 at 07:09

    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 !

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 27, 2019 at 12:13

    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

    Avatar: graphics
    graphics
    Participant
    May 27, 2019 at 17:30

    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 !

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 27, 2019 at 18:45

    Hello,

    Ok, great. Then you can just remove the xstore-child/_framework/ folder if you don’t need this.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.