G’day rainsey,
I’m not seeing any errors in my test sites, nor in client sites. Can you please send me your site info via my support form? You can copy your site info by navigating here and clicking the button “Copy site info to clipboard”:
Tools > Site Health > Info
NB: don’t paste it here! Prying eyes, etc. Please send to me via my support page:
https://shop.webaware.com.au/support/
Are you able to look for errors in your website’s error logs? You can find them in your hosting panel (e.g. cPanel or Plesk).
cheers,
Ross
Done, our admin php errorlog shows the following error for the eway plugin.
[26-Jun-2019 08:42:55 UTC] PHP Fatal error: Cannot redeclare wc_add_notice() (previously declared in /wp-content/plugins/eway-payment-gateway/includes/wc-compatibility.php:16) in /wp-content/plugins/woocommerce/includes/wc-notice-functions.php on line 72
G’day Andrew,
Logs received, thanks. I can see what’s going on, but why is a minor mystery.
The WooCommerce notice functions are not loaded in the WP admin, only on the WP front end, so there should not be any conflict with me loading a shim for when it’s missing. The fact that there is indicates that another plugin is doing something front end in the WooCommerce admin, loading in things that aren’t normally loaded in the admin, and loading them after my plugin has already defined the wc_add_notice() function.
I’ve removed that function from my plugin now, since I no longer support WC < v2.6 and can rely on it always being there now. Please try this dev version and see if it resolves your problems.
https://www.dropbox.com/s/4kyy3v2nx0p93x3/eway-payment-gateway-4.3.3-dev.zip?dl=1
cheers,
Ross
Hi Ross,
I tested your update and confirm our issue is now resolved. Thank you for your prompt response!!
Kind regards
Andrew
Ben
(@bencalder)
I’m having the exact same issue, appears to be an issue with the latest update of the eWay plugin.
G’day Ben,
Can you please try the linked dev version above? If it fixes it, I’ll push the update out tomorrow.
I thought it would be an isolated case, but it seems that the update to WooCommerce 3.6.3+ has pushed a number of other developers to make some changes that load front end functions in the admin. Got to love “performance fixes” π
cheers,
Ross
Ben
(@bencalder)
I just tried the dev version and it also resolved my problem.
Will this automatically update to the next production release?
G’day Ben,
Yes, when the release comes out (tomorrow!) it will be the same thing but with a different version number, and will replace what you’ve just installed. The -dev version will be replaced by the official version.
cheers,
Ross