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

Crash when woocommerce is supposed to be active but not present #1

Open
magicoli opened this issue Feb 21, 2024 · 0 comments
Open

Crash when woocommerce is supposed to be active but not present #1

magicoli opened this issue Feb 21, 2024 · 0 comments

Comments

@magicoli
Copy link
Owner

magicoli commented Feb 21, 2024

Test for woocommerce does not take in account the absence of it due to a bug, so it makes the site crash when assuming wc functions are present.

The woocommerce corruption my be caused by multipass, stil assuming wc is available while it's being updated, and making the site crash before the update is properly completed.

Temporary workaround : replace the broken woocommerce plugin by a fresh version downloaded from the website.

Proper fix: make sure all needed functions are available before using wc functionalities.

Warning: file_get_contents(wp-content/plugins/woocommerce/woocommerce.php): failed to open stream: No such file or directory in wp-includes/functions.php on line 6805
PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_page_id() in wp-content/plugins/multipass/includes/modules/class-mltp-woocommerce-payment.php:516


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

1 participant