Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Upgrading to WooCommerce 6.6.1 causes Flagship to throw error breaking website #87

Closed
Red-Cross-Knight opened this issue Jun 26, 2022 · 3 comments

Comments

@Red-Cross-Knight
Copy link

Was testing upgrading WooCommerce to 6.6.1 today, doing so causes the entire site to crash.

Flagship Version 3.0.16

Error Details

An error of type E_ERROR was caused in line 189 of the file /home/thedrago/public_html/wp-content/plugins/flagship-woocommerce-shipping/src/Injection/Updater/Autoupdate.php. Error message: Uncaught Error: Call to undefined function FS\Injection\Updater\wc() in /home/thedrago/public_html/wp-content/plugins/flagship-woocommerce-shipping/src/Injection/Updater/Autoupdate.php:189
Stack trace:
#0 /home/thedrago/public_html/wp-content/plugins/flagship-woocommerce-shipping/src/Injection/Updater/Autoupdate.php(175): FS\Injection\Updater\Autoupdate->getLatestRelease(Array)
#1 /home/thedrago/public_html/wp-content/plugins/flagship-woocommerce-shipping/src/Injection/Updater/Autoupdate.php(50): FS\Injection\Updater\Autoupdate->resolveRelease()
#2 /home/thedrago/public_html/wp-includes/class-wp-hook.php(309): FS\Injection\Updater\Autoupdate->presetTransient(Object(stdClass))
#3 /home/thedrago/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Object(stdClass), Array)
#4 /home/thedrago/public_html/wp-includes/option.php(1989): apply_filters('pre_set_site_tr...', Object(stdClass), 'update_plugins')
#5 /home/thedrago/public_html/wp-includes/update.php(531): set_site_transient('update_plugins', Obje

@radua
Copy link
Contributor

radua commented Jun 28, 2022

Hi @Red-Cross-Knight I was able to update woocommerce to 6.6.1 and the plugin to 3.0.16. The only error I encountered was a file permissions error. I am not able to reproduce the issue on my end but I'll try and look into it

image

@Red-Cross-Knight
Copy link
Author

@radua - I tried to install again and it installed fine and didn't' crash.... ghost in the machine?

@radua
Copy link
Contributor

radua commented Jun 29, 2022

Probably :)

@radua radua closed this as completed Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants