Page error after the latest xstore core update – urgent

This topic has 20 replies, 3 voices, and was last updated 2 weeks, 6 days ago ago by Rose Tyler

  • Avatar: Peter
    Peter
    Participant
    April 30, 2024 at 08:42

    Hi, I just updated xstore core, then updated the template (as always) and WP generated an error and the website does not work.
    Check if everything is OK with the update.
    And restore the previous operation as soon as possible.
    Unable to log in to the panel.

    Please, contact administrator
    for this information.
    19 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 30, 2024 at 08:49

    Hello, Peter,

    Thank you for reaching out to us.

    Please enable debug mode in WordPress – https://wordpress.org/support/article/debugging-in-wordpress/ to find out what error appears on your site, it will point you in the right direction what needs to be fixed.

    We kindly request that you provide us with temporary FTP access (FTP host, FTP username, FTP password, FTP port, and FTP encryption type). If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Thank you for your cooperation.

    Best Regards,
    8Theme’s Team

    Avatar: Peter
    Peter
    Participant
    April 30, 2024 at 08:56

    I uploaded the template files manually via ftp – the website started working, but the backend (panel) did not work.

    Please contact administrator
    for this information.
    Avatar: Peter
    Peter
    Participant
    April 30, 2024 at 09:16

    This is error from WP

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 30, 2024 at 09:44

    Hello, Peter,

    We are currently experiencing difficulties connecting to the FTP server https://prnt.sc/Ccou7dMnkjrD Could you please investigate this issue at your earliest convenience and advise on the possible solutions?

    Thank you for your attention to this matter.

    Best Regards,
    8Theme’s Team

    Avatar: Peter
    Peter
    Participant
    April 30, 2024 at 09:49

    I checked at home and there is no problem with the connection.
    Are you connecting from Europe or maybe Asia?

    Please contact administrator
    for this information.
    Avatar: Peter
    Peter
    Participant
    April 30, 2024 at 09:50

    Please check again now.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 30, 2024 at 10:19

    Hello, Peter,

    Please check now, because we do not see the problem. Update the theme and Core plugin, and provide the URL of page where the problem is visible after that.

    Thank you for your cooperation and we look forward to hearing from you soon.

    Best Regards,
    8Theme’s Team

    Avatar: Peter
    Peter
    Participant
    April 30, 2024 at 10:24

    Do you have access to the website’s backend (panel)?
    I can’t do it on several computers because I keep getting the same error.
    I deleted browser cache and still have the same problem

    Avatar: Peter
    Peter
    Participant
    April 30, 2024 at 10:28

    your access

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 30, 2024 at 10:49

    Dear @Peter,

    We have successfully identified the source of the critical error affecting your website. It appears that certain files, which should not have been copied, were transferred to the child theme. Specifically, files from the framework folder were moved incorrectly (details and screenshot available here: [https://prnt.sc/nC0Vu5RqeiMX]).

    As we have advised our customers previously, copying any files from the framework folder to the child theme is not recommended. Such actions can lead to operational issues, as these files are not designed to function within the child theme environment. If you need to modify functions from the framework folder, we suggest copying only the necessary function code into the child-theme/functions.php file. Please ensure modifications are made only if the function is wrapped with the specific condition shown here: [https://prnt.sc/YUklS8_tXR_A].

    Please be aware that we are not responsible for any issues arising from custom modifications you implement within the child theme.

    To resolve the current issue, we have renamed the xstore-child/framework folder, and as a result, your website has resumed normal operation (for reference, see screenshot: [https://prnt.sc/NW-yYZ1in4-B]).

    Thank you for your attention to this matter. Should you have any further questions or require additional assistance, please do not hesitate to contact us.

    Kind regards,

    The 8Theme Team

    Avatar: Peter
    Peter
    Participant
    April 30, 2024 at 10:55

    Thank you for your help and information.

    Only I do the installation the same way all the time. There have been no recent modifications to the rare template.
    Should I understand that your updater did not copy something correctly?
    I have to do this update on 3 other sites and I’m afraid that there will be the same problem.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 30, 2024 at 12:05

    Dear @Peter,

    I hope this message finds you well. We have noticed an issue that may arise if you have copied and pasted files from one website to another, as previously discussed. This action could potentially lead to a fatal error on any subsequent websites where these files exist, which is not permitted.

    To avoid this issue, we recommend renaming the framework folder in the child theme of your other websites, if applicable. After renaming, please proceed with updating the XStore theme and XStore Core plugin on those sites. If you encounter any difficulties or the same issues persist, please inform us immediately. We will then manually rename the prohibited files and folders for you.

    Additionally, it is important to note that each update of our themes and plugins includes new changes, functions, and filters. For instance, we have recently added a new function in the xstore/framework/theme-functions.php file. However, since this file has been modified in your child-theme/framework, it resulted in a fatal error due to the absence of the new function in your child theme’s file. This underscores the importance of following the correct procedures for modifying theme functions in your child theme, as previously outlined.

    Thank you for your attention to this matter. Should you have any questions or require further assistance, please do not hesitate to contact us.

    Kind regards,

    Jack Richardson
    8Theme’s Team

    Avatar: Peter
    Peter
    Participant
    April 30, 2024 at 12:08

    But as I already wrote, I didn’t copy anything myself.
    The error occurred when updating the template in the panel – I always do the same thing. Nothing is copied manually, only via the WP panel.

    That’s why I’m asking if this is some kind of error on your part? Because I still have 3 pages where I have to make this update and I don’t want to have the same problem.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 30, 2024 at 12:34

    Hello, Peter,

    We have reviewed the situation and can confirm that the issue does not originate from our end.

    The updates we provide pertain to the parent theme. In your case, the problem was found within the child theme files.
    We understand that you need to perform updates on three additional sites and assure you that if there have been no changes to the child theme, or if any changes have been correctly implemented according to WordPress guidelines, you should not encounter any problems.

    Although we are not responsible for custom modifications in the child theme, we are willing to assist you. Please proceed with the updates as outlined in our documentation: first update the theme and then the core plugin, sequentially on each site. Should any issues arise, do not hesitate to contact us.

    Kind Regards,
    8theme team

    Avatar: Peter
    Peter
    Participant
    April 30, 2024 at 12:40

    There is an error on the page:

    Please contact administrator
    for this information.
    Avatar: Peter
    Peter
    Participant
    April 30, 2024 at 12:46

    I will write the same thing again. Nothing has been modified on the website, let alone the template, for a very long time.
    I recently did the update the same way and there was no problem.

    That’s why I think it’s more of a problem with the update from you.

    If there is another xstore core update, should I do it in a different way? Because I still don’t understand this problem that has arisen. Everything always went smoothly.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 30, 2024 at 13:25

    Hello, Peter,

    You have provided the text of warning and the child theme is mentioned there, which means the problem in the custom code of the child theme. In your case, archive-product.php file of the child theme is no longer compatible with the latest version of WooCommerce, to fix this, you need to compare 2 files (from the parent theme and from the child theme with your changes) and add the missing code to your child theme file https://text-compare.com/

    The way of updating the XStore parent theme and XStore Core plugin doesn’t play any role in your current case (it can be done via FTP of via the Dashboard).

    Kind Regards,
    8theme team

    Avatar: Peter
    Peter
    Participant
    April 30, 2024 at 13:30

    Ok.
    Thanks for your help 🙂

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 30, 2024 at 14:28

    Hello, Peter,

    You’re welcome!

    Kind Regards,
    8theme team

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

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

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