Title: Internal Server error
Last modified: August 2, 2019

---

# Internal Server error

 *  Resolved [valdez79](https://wordpress.org/support/users/valdez79/)
 * (@valdez79)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-582/)
 * Hello,
    I have wordpress 5.2.2 Flexible Shipping 3.6.1
 * And I get an internal server error:
 * [02-Aug-2019 15:55:28 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed
   to WPDesk\Mutex\WordpressPostMutex::fromOrder() must be an instance of WC_Order,
   boolean given, called in /home/casapastorreal/public_html/wp-content/plugins/
   flexible-shipping/vendor/wpdesk/wp-wpdesk-fs-shipment/src/shipment/cpt-shipment.
   php on line 285 and defined in /home/casapastorreal/public_html/wp-content/plugins/
   flexible-shipping/vendor/wpdesk/wp-mutex/src/WPDesk/Mutex/WordpressPostMutex.
   php:53
    Stack trace: #0 /home/casapastorreal/public_html/wp-content/plugins/flexible-
   shipping/vendor/wpdesk/wp-wpdesk-fs-shipment/src/shipment/cpt-shipment.php(285):
   WPDesk\Mutex\WordpressPostMutex::fromOrder(false) #1 /home/casapastorreal/public_html/
   wp-includes/class-wp-hook.php(288): WPDesk_Flexible_Shipping_Shipment_CPT->create_shipping_for_order(
   0) #2 /home/casapastorreal/public_html/wp-includes/class-wp-hook.php(310): WP_Hook-
   >apply_filters(NULL, Array) #3 /home/casapastorreal/public_html/wp-includes/plugin.
   php(465): WP_Hook->do_action(Array) #4 /home/casapastorreal/public_htm in /home/
   casapastorreal/public_html/wp-content/plugins/flexible-shipping/vendor/wpdesk/
   wp-mutex/src/WPDesk/Mutex/WordpressPostMutex.php on line 53
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finternal-server-error-582%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [valdez79](https://wordpress.org/support/users/valdez79/)
 * (@valdez79)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-582/#post-11797355)
 * More information about the error above:
 * I have wordpress 5.2.2
    Flexible Shipping 3.6.1
 * Woocommerce: 3.6.5
    PHP: PHP 7.2 (ea-php72) MySql: 5.7.27 – MySQL Community Server
 * I get the error when I click to checkout in casapastorreal.com
 *  [przemyslawrosa](https://wordpress.org/support/users/przemyslawrosa/)
 * (@przemyslawrosa)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-582/#post-11800094)
 * Hi Valdez,
 * thanks for posting this!
 * I’ve already forward the matter to the plugin’s developer for verification. I’ll
   let you know as soon as I get feedback.
 *  [przemyslawrosa](https://wordpress.org/support/users/przemyslawrosa/)
 * (@przemyslawrosa)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-582/#post-11804185)
 * Hi,
 * we’ve released today a new version (3.6.2) of the Flexible Shipping in which 
   bug is fixed.
 * Please update the plugin and verify that everything is ok.
 * Cheers,
 *  Plugin Author [Piotr Jablonowski](https://wordpress.org/support/users/jablonowski/)
 * (@jablonowski)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/internal-server-error-582/#post-11851724)
 * As we haven’t got any replies, I’m marking this topic as resolved for now.

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

The topic ‘Internal Server error’ is closed to new replies.

 * ![](https://ps.w.org/flexible-shipping/assets/icon.svg?rev=2737045)
 * [Weight Based Shipping Table Rate for WooCommerce – Flexible Shipping](https://wordpress.org/plugins/flexible-shipping/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-shipping/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-shipping/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-shipping/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-shipping/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-shipping/reviews/)

## Tags

 * ["internal server error"](https://wordpress.org/support/topic-tag/internal-server-error/)

 * 4 replies
 * 3 participants
 * Last reply from: [Piotr Jablonowski](https://wordpress.org/support/users/jablonowski/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/internal-server-error-582/#post-11851724)
 * Status: resolved