-
Notifications
You must be signed in to change notification settings - Fork 0
Crash when woocommerce is supposed to be active but not present #1
Copy link
Copy link
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels