woocommerce-external-product-embed
woocommerce-external-product-embed copied to clipboard
There has been a critical error on this website.
Hello, I have the following error when saving. There has been a critical error on this website. Please check your site admin email inbox for instructions.
Hard to say what went wrong without a more specific error message, but my guess is that you need to download from the releases page and not clone the repo: https://github.com/WPprodigy/woocommerce-external-product-embed#installation
This is really simple. This is because the plugin is not compatible with PHP 8.x. We are able to run it just fine on every site up to 7.4, but with 7.4 no longer being supported, we are forced to 8.x starting November 7th.
I hope someone will fix this, as we use it on a couple of dozen Affiliate sites.
The exact error is:
Fatal error: Cannot redeclare WCEPE() (previously declared in /srv/htdocs/wp-content/plugins/woocommerce-external-product-embed/woocommerce-external-product-embed.php:112) in /srv/htdocs/wp-content/plugins/woocommerce-external-product-embed-master/woocommerce-external-product-embed.php on line 111
Looks like you might have the plugin installed in two different places and enabled twice?
-
/plugins/woocommerce-external-product-embed/
-
plugins//woocommerce-external-product-embed-master/
Interesting I didn't catch that and I don't know how/why there were two directories. I did remove both and reinstalled, and of course it's working! Sorry for the trouble.
No worries :)