• Resolved rainsey

    (@rainsey)


    The eway plugin (v4.3.2) is generating the following error when we try to edit a product on woocommerce v3.6.4.

    The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

    No error occurs when the eway plugin is disabled.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author webaware

    (@webaware)

    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

    Thread Starter rainsey

    (@rainsey)

    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

    Plugin Author webaware

    (@webaware)

    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

    Thread Starter rainsey

    (@rainsey)

    Hi Ross,

    I tested your update and confirm our issue is now resolved. Thank you for your prompt response!!

    Kind regards
    Andrew

    Plugin Author webaware

    (@webaware)

    Awesome!

    Ben

    (@bencalder)

    I’m having the exact same issue, appears to be an issue with the latest update of the eWay plugin.

    Plugin Author webaware

    (@webaware)

    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?

    Plugin Author webaware

    (@webaware)

    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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘technical difficulties product edit’ is closed to new replies.