Error in woo.php file when updating Xstore theme to latest version

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

  • Avatar: Valentin
    Valentin
    Participant
    April 12, 2021 at 15:22

    I updated theme core and I got this error (here attaches) that there is a function not defined in theme files.
    I was able to manually fixed that error by editing in the file (wp-content/themes/xstore/framework/woo.php) and re-declared the function that causes the error.

    Can you please let me know if it is a known error and how to fix it directly in the theme?

    Screenshot attached:
    screenshot

    6 Answers
    Avatar: Valentin
    Valentin
    Participant
    April 12, 2021 at 15:24
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 12, 2021 at 15:55

    Hello,

    Provide us with WP Dashboard and FTP access, please. Have you updated both: XStore theme and XStore core plugin to latest versions?

    Regards

    Avatar: Valentin
    Valentin
    Participant
    April 16, 2021 at 16:33

    Sure, here is the WP access.

    These errors happened when we updated both XSTORE and XSTORE CORE.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 16, 2021 at 17:16

    Hello,

    You missed to provide FTP access to your site. I suppose that problem caused by your child theme and changes that you made there, especially in theme-functions https://prnt.sc/11iyywz
    If you want to change any function you need to copy only function code (not whole the file with all the functions!) from parent theme to child theme fucntions.php and edit this function according to your needs.

    Provide FTP to check my guess.

    Regards

    Avatar: Valentin
    Valentin
    Participant
    April 18, 2021 at 14:54

    Sure here is the FTP access. Please let me know if this is the issue you have assumed?

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 19, 2021 at 13:16

    Hello,

    What changes did you make in xstore-child/framework/theme-functions.php , xstore-child/woocommerce/content-product-slider.php, xstore-child/woocommerce/content-product.php ? I had to rename these files because the versions you have in the child there out of date. So, you need to tell me what changes you made there to move them to updated copies.

    Regards

  • Viewing 7 results - 1 through 7 (of 7 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.