PHP Fatal Error – Plugin Breaks Ordering Process
-
Installed this plugin and now the basic WooCommerce ordering is not working. PHP Error Log is showing:
text/x-generic error_log ( ASCII C++ program text )
[16-Oct-2020 16:36:48 UTC] PHP Fatal error: Cannot declare class Flexible_Shipping_UPS_Shipping_Method, because the name is already in use in /home4/dlppvpmy/public_html/wp-content/plugins/flexible-shipping-ups/src/Legacy/class-flexible-shipping-ups-shipping-method.php on line 12This happens once credit card is entered and Process Payment Button is pressed.
This results in the order screen not processing to the thank you for your order page. Page stays in cart page with cc# showing and then results in multiple orders as customers do not think it is working (so they hit it again and again).
If I deactivate this plugin, everything works ok. – order processed, no PHP errors, thank you page works fine.
If I run it with plugin activated to get the above P{HP Fatal error, Google Developer Tools tells me this:
POST https://www.etyum.com/?wc-ajax=checkout 500
send @ jquery.js?ver=1.12.4-wp:4
ajax @ jquery.js?ver=1.12.4-wp:4
submit @ checkout.min.js?ver=4.6.0:1
dispatch @ jquery.js?ver=1.12.4-wp:3
r.handle @ jquery.js?ver=1.12.4-wp:3
trigger @ jquery.js?ver=1.12.4-wp:3
(anonymous) @ jquery.js?ver=1.12.4-wp:3
each @ jquery.js?ver=1.12.4-wp:2
each @ jquery.js?ver=1.12.4-wp:2
trigger @ jquery.js?ver=1.12.4-wp:3
n.fn.<computed> @ jquery.js?ver=1.12.4-wp:4
sourceResponse @ stripe.min.js?ver=4.5.3:1
Promise.then (async)
createSource @ stripe.min.js?ver=4.5.3:1
onSubmit @ stripe.min.js?ver=4.5.3:1
dispatch @ jquery.js?ver=1.12.4-wp:3
r.handle @ jquery.js?ver=1.12.4-wp:3
trigger @ jquery.js?ver=1.12.4-wp:3
triggerHandler @ jquery.js?ver=1.12.4-wp:3
submit @ checkout.min.js?ver=4.6.0:1
dispatch @ jquery.js?ver=1.12.4-wp:3
r.handle @ jquery.js?ver=1.12.4-wp:3It seems pretty clear this plugin is not playing nicely with WooCommerce. Have the latest version of WordPress and plugins installed.
How can I resolve this? Or do I need to find a different UPS Plugin? Running Php 7.3 on Bluehost for this site.
Thank you
- The topic ‘PHP Fatal Error – Plugin Breaks Ordering Process’ is closed to new replies.