Title: PHP Fatal Error &#8211; Plugin Breaks Ordering Process
Last modified: October 16, 2020

---

# PHP Fatal Error – Plugin Breaks Ordering Process

 *  Resolved [paulag01](https://wordpress.org/support/users/paulag01/)
 * (@paulag01)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/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 12
 * This 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](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:3
 * It 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

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Grzegorz Rola](https://wordpress.org/support/users/grola/)
 * (@grola)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-plugin-breaks-ordering-process/#post-13544427)
 * Thank you for reporting.
 * The woocommerce_init action seems to be triggered multiple times.
    It should 
   normally only be triggered once.
 * We will add support for such a situation.
 *  Thread Starter [paulag01](https://wordpress.org/support/users/paulag01/)
 * (@paulag01)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-plugin-breaks-ordering-process/#post-13544500)
 * Do you have an ETA for solution? Just so I can advise client. Thank you.
 *  Plugin Author [Grzegorz Rola](https://wordpress.org/support/users/grola/)
 * (@grola)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-plugin-breaks-ordering-process/#post-13544513)
 * I think a patch will come out on Monday.
 * However, I recommend checking why the woocommerce_init action is called more 
   than 1 time. This can cause other problems.
 * Thank you.
 *  Thread Starter [paulag01](https://wordpress.org/support/users/paulag01/)
 * (@paulag01)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-plugin-breaks-ordering-process/#post-13544598)
 * Thank you.
 * I’m not sure where I would start to figure out why that is called multiple times.
   Any idea (KB article, etc) of where to start to see why? Perhaps it is the multiple
   Woocommerce plugins they have running.
 *  Plugin Author [Grzegorz Rola](https://wordpress.org/support/users/grola/)
 * (@grola)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-plugin-breaks-ordering-process/#post-13544656)
 * You can serach for ‘woocommerce_init’ text in plugins and themes source files.
   Maybe other plugins triggers this action.
 *  Plugin Support [Marta Borówka](https://wordpress.org/support/users/martapaw/)
 * (@martapaw)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-plugin-breaks-ordering-process/#post-13568491)
 * Hello [@paulag01](https://wordpress.org/support/users/paulag01/),
 * Please note that the latest version of our plugin should support your problem.
 * Best regards,
    Marta
 *  Thread Starter [paulag01](https://wordpress.org/support/users/paulag01/)
 * (@paulag01)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-plugin-breaks-ordering-process/#post-13597224)
 * Thank you – The new release for the plugin solved the errors. The init action
   you reference also resolved itself (perhaps an update from another related plugin).
 *  Plugin Support [lusp](https://wordpress.org/support/users/lusp/)
 * (@lusp)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-plugin-breaks-ordering-process/#post-13624110)
 * Thank you [@paulag01](https://wordpress.org/support/users/paulag01/) for letting
   us know. We’re glad to hear everything works fine now. Since there are no further
   inquiries concerning this case I’m marking this thread as resolved.
 * Kind regards,
    Łukasz

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘PHP Fatal Error – Plugin Breaks Ordering Process’ is closed to new replies.

 * ![](https://ps.w.org/flexible-shipping-ups/assets/icon.svg?rev=2738069)
 * [Shipping Live Rates and Access Points for UPS for WooCommerce](https://wordpress.org/plugins/flexible-shipping-ups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-shipping-ups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-shipping-ups/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-shipping-ups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-shipping-ups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-shipping-ups/reviews/)

## Tags

 * [PHP Fatal error](https://wordpress.org/support/topic-tag/php-fatal-error/)

 * 8 replies
 * 4 participants
 * Last reply from: [lusp](https://wordpress.org/support/users/lusp/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-plugin-breaks-ordering-process/#post-13624110)
 * Status: resolved