Xcart update failed. Manual and automatic.

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

  • Avatar: agixcart
    agixcart
    Participant
    October 24, 2018 at 18:48

    I have tried to update Xcart to the latest version and when first tried with the automatic update it fales with the ZIP ERROR that has been referenced before. We have over 400GB of space available on the server and I tried to deactivate and reactivate the theme and then try the update. Again it failed.

    I then manually updated the site to the latest version through FTP. when my site came back it was blank. The following error log was recorded:

    [Wed Oct 24 17:11:50.634545 2018] [:error] [pid 7025] [client 96.82.73.114:21910] PHP Fatal error: Uncaught Error: Call to undefined function etheme_masonry() in /nas/content/live/amergunsmith/wp-content/themes/xstore/framework/theme-init.php:23\nStack trace:\n#0 [internal function]: etheme_enqueue_scripts(”)\n#1 /nas/content/live/amergunsmith/wp-includes/class-wp-hook.php(286): call_user_func_array(‘etheme_enqueue_…’, Array)\n#2 /nas/content/live/amergunsmith/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#3 /nas/content/live/amergunsmith/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#4 /nas/content/live/amergunsmith/wp-includes/script-loader.php(1447): do_action(‘wp_enqueue_scri…’)\n#5 [internal function]: wp_enqueue_scripts(”)\n#6 /nas/content/live/amergunsmith/wp-includes/class-wp-hook.php(286): call_user_func_array(‘wp_enqueue_scri…’, Array)\n#7 /nas/content/live/amergunsmith/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#8 /nas/content/live/amergunsmith/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#9 /nas/content/live/amergunsmith in /nas/content/live/amergunsmith/wp-content/themes/xstore/framework/theme-init.php on line 23

    I have had to restore to the backup before the updates.

    This is a Business site, so we have to be able to update the themes and plugins for security whenever possible. Please help.

    -Mike

    Please, contact administrator
    for this information.
    17 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 25, 2018 at 08:45

    Hello,

    If you faced zip error it can be related to theme activation: you are trying to update theme at domain different than where you activated it. As a rule, this happens when you create side on the different domain and then move it to the new one. To solve the problem go to Theme Options > Deactivate theme license and activate it again. If it does not help then update theme via FTP.

    If you got the error with the etheme_masonry function you need to make sure that masonry option is enabled in XStore > Theme Options > Speed Optimization > Masonry scripts.

    Also, if you provide me temporary Dashboard and FTP access we can help you with theme update and do it for you.

    Regards

    Avatar: agixcart
    agixcart
    Participant
    October 25, 2018 at 17:43

    Thank you for your response this causes more questions than answers unfortunately.

    As I had said in the submission the first thing we did was try to deactivate and then re-activate the theme as instructed in a forum post we were directed to in the beginning. That did not work.

    I am unable to find the setting you speak of on the theme currently (after reverting back to our current version the theme shows version 1.0)

    The only option I have from the admin panel is 8Theme Options. Within that admin area I do not see anything about Speed Optimization on any of the available tabs within the options.

    To be clear.. Our site is not working because an optional script within the system is not enabled? On a default install? I mean how is that possible? Its not like we would know about that option as a requirement and automatically enable it.

    Has anyone else had this problem?

    Within the private content I will include the access information. This is a live site.

    Please, contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 26, 2018 at 14:52

    Hello,

    At this moment you are using the old version of theme 4.26 and I would not recommend you to use auto update to update theme to version 5.1.1. 5.0 update – was major theme update and it would be better to update theme manually. Please, provide me FTP access to your site to help you with theme update to 5.x version. Also, check the updated demo http://xstore.8theme.com , we made a lot of changes in 5.x version including style changes https://xstore.8theme.com/update-history/ , make sure that this is ok for you.

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 26, 2018 at 15:01

    I checked the backend of your site and see that you are using the child theme and made a lot of changes there. Keep in mind that after update to 5.x version you may need to update some code in child theme files to be up to date.

    Regards

    Avatar: agixcart
    agixcart
    Participant
    October 26, 2018 at 19:09

    I give..

    I have deployed a development site for this. I have manuially updated the Xcart theme and the same “blank page” on load is still the end result. I have included the DEV site access information from WPEngine for you. I would really appreciate actually speaking with a support tech on this if possible.

    DEMO access information in Private content.

    -Mike

    Please, contact administrator
    for this information.
    Avatar: agixcart
    agixcart
    Participant
    October 26, 2018 at 19:21

    here is the most recent fail log. I have enabled the masonry scripts, but still get this error and a blank screen (this is on the DEV install)

    [Fri Oct 26 18:11:10.801952 2018] [:error] [pid 17568] [client xx.xx.xx.xx:56993] PHP Fatal error: Uncaught Error: Call to undefined function etheme_masonry() in /nas/content/live/amergundev/wp-content/themes/xstore/framework/theme-init.php:23\nStack trace:\n#0 [internal function]: etheme_enqueue_scripts(”)\n#1 /nas/content/live/amergundev/wp-includes/class-wp-hook.php(286): call_user_func_array(‘etheme_enqueue_…’, Array)\n#2 /nas/content/live/amergundev/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#3 /nas/content/live/amergundev/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#4 /nas/content/live/amergundev/wp-includes/script-loader.php(1447): do_action(‘wp_enqueue_scri…’)\n#5 [internal function]: wp_enqueue_scripts(”)\n#6 /nas/content/live/amergundev/wp-includes/class-wp-hook.php(286): call_user_func_array(‘wp_enqueue_scri…’, Array)\n#7 /nas/content/live/amergundev/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#8 /nas/content/live/amergundev/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#9 /nas/content/live/amergundev/wp-includes/gener in /nas/content/live/amergundev/wp-content/themes/xstore/framework/theme-init.php on line 23, referer: https://amergundev.wpengine.com/wp-admin/update-core.php?action=do-plugin-upgrade

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 27, 2018 at 14:53

    Hello,

    Do you have these error when the parent or child theme is enabled?
    1) Enable parent theme.
    2) Go to Xstore > Theme Options > Header > Header layout > Choose the header type “Center 3” and save the options.

    Regards

    Avatar: agixcart
    agixcart
    Participant
    October 29, 2018 at 17:38

    So your answer to fix the problem is to break our site by disabling the child theme?

    How will we be able to know what is wrong in the child in order to fix the problems. We had to do some custom programming in the child to make some aspects work, but to understand this we would need to build it over?

    I am not sure how to proceed. Basically updating your theme breaks our site, and your answer is to disable the child theme needed in order for our site to work. I am confused. Is there a way to know what is not working within the child theme that is breaking the site?

    What is the point of having a Child theme if we can’t use it?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 29, 2018 at 19:21

    Hello,

    Did you move files to child theme by your self or other person did that? At this moment I see that whole headers folder was copied to child theme. Did you change all the files in that folder? Also, you copied the framework folder and theme functions files but you should not do this. If you want to change theme function you should copy the only function into child theme functions.php and don’t copy whole template-elements.php or theme-functions.php files. WooCommerce folder, I see that you copied a lot of files http://prntscr.com/lbx69w Did you make changes in all these files or you just copied folder from our theme and changed only one file of that list?

    We can help you to update files in child theme but we need to know the full list of the files that you really changed in child theme without files that you copied just in case.

    Regards

    Avatar: agixcart
    agixcart
    Participant
    October 29, 2018 at 19:28

    The site was designed by a contractor. I do not know the extent of what was done in the Child theme. I have reached out to the contractor, however so far they have not been available.

    If our only option is disabling the Child theme, then we have to understand what breaks based on this, and then re-do the work that was done on the site within the child system.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 29, 2018 at 19:33

    P.S. Provide me FTP access to your staging site. We’ll try to check files that were changed but it will take more time than we expect.

    Regards

    Avatar: agixcart
    agixcart
    Participant
    October 29, 2018 at 19:36

    here is the information. (provided in private content)

    Please, contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 30, 2018 at 19:15

    Hello,

    Check the staging site now. We have made changes in child theme and removed files that were the just simple copy of our theme files without any changes. Also, we made some changes in Theme Options, so you will need to import these options to the production site after update.

    Let me know if everything is ok on the staging site and if everything works ok.

    Regards

    Avatar: agixcart
    agixcart
    Participant
    October 30, 2018 at 22:10

    Thank you for fixing the theme. We have done the updates and pushed the dev site over to live. the only problem we are having on the live site so-far, is the video button to watch a preview of the course is not shown on the product image and is weirdly shown in the other images section. also when we click the button to play the video it does not open up in the modal on the site like it used to, but now replaces the image of the product with the video.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 31, 2018 at 09:54

    Hello,

    We have changed the appearance of the product video and the video button position in the 5.0 version. But I can offer you the vertical thumbnails http://prntscr.com/lcl0o3 and then video button will be visible at start http://prntscr.com/lckzrd
    What do you think?

    Regards

    Avatar: agixcart
    agixcart
    Participant
    November 5, 2018 at 21:14

    I think that we are fine with the new layout. I fixed the CSS issue and it appears to be working.

    We have a problem where the fixes that you did to the child theme removed the google analytics from the site. We need to get this back up and running as soon as possible. Please tell me how to now include our google analytics codes on the site, as it was part of the child theme.

    thank you.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 6, 2018 at 13:18

    Hello,

    We have installed Insert Headers and Footers plugins for the staging site and moved GA code to plugins field. Do the same for the production site http://prntscr.com/lf051o
    In this case, GA does not depend on theme you use, it’s better than using theme files to add the code.

    Regards

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