Title: Fatal Stack Trace from F&amp;S
Last modified: September 1, 2021

---

# Fatal Stack Trace from F&S

 *  Resolved [jberry86](https://wordpress.org/support/users/jberry86/)
 * (@jberry86)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/fatal-stack-trace-from-fs/)
 * I’m getting this error in my logs, any suggestion on how to resolve it?
 * PHP Fatal error: Uncaught Error: Call to a member function check_wpml() on null
   in ~/wp-content/plugins/fish-and-ships/fish-and-ships.php:2578

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

 *  Plugin Author [wp-centrics](https://wordpress.org/support/users/wpcentrics/)
 * (@wpcentrics)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/fatal-stack-trace-from-fs/#post-14832471)
 * Hi, [@jberry86](https://wordpress.org/support/users/jberry86/),can’t reproduce
   this error on our testing webservers, please can look into your error log, if
   there is any previous PHP error fish and ships related?
 * thank you,
    Carles
 *  Thread Starter [jberry86](https://wordpress.org/support/users/jberry86/)
 * (@jberry86)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/fatal-stack-trace-from-fs/#post-14931359)
 * I have unable to find other earlier or PHP errors related, but I was able to 
   get a full stacktrace:
 *     ```
       PHP Fatal error:  Uncaught Error: Call to a member function check_wpml()
       on null in
       /home/wp_9w2zak/mydomain.com/wp-content/plugins/fish-and-ships/fish-and-ships.php:2578
       Stack trace:
       #0 /home/wp_9w2zak/mydomain.com/wp-includes/class-wp-hook.php(303):
       wocommerce_fish_n_ships_shipping_init('')
       #1 /home/wp_9w2zak/mydomain.com/wp-includes/class-wp-hook.php(327):
       WP_Hook->apply_filters(NULL, Array)
       #2 /home/wp_9w2zak/mydomain.com/wp-includes/plugin.php(470):
       WP_Hook->do_action(Array)
       #3
       /home/wp_9w2zak/mydomain.com/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(122):
       do_action('woocommerce_shi...')
       #4
       /home/wp_9w2zak/mydomain.com/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(114):
       WC_Shipping->init()
       #5
       /home/wp_9w2zak/mydomain.com/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(68):
       WC_Shipping->__construct()
       #6
       /home/wp_9w2zak/mydomain.com/wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php(165):
       WC_Shipping::instance()
       #7 /home/wp_9w2zak/mydomain.com/ in
       /home/wp_9w2zak/mydomain.com/wp-content/plugins/fish-and-ships/fish-and-ships.php
       on line 2578
       Fatal error: Uncaught Error: Call to a member function check_wpml() on
       null in
       /home/wp_9w2zak/mydomain.com/wp-content/plugins/fish-and-ships/fish-and-ships.php:2578
       Stack trace:
       #0 /home/wp_9w2zak/mydomain.com/wp-includes/class-wp-hook.php(303):
       wocommerce_fish_n_ships_shipping_init('')
       #1 /home/wp_9w2zak/mydomain.com/wp-includes/class-wp-hook.php(327):
       WP_Hook->apply_filters(NULL, Array)
       #2 /home/wp_9w2zak/mydomain.com/wp-includes/plugin.php(470):
       WP_Hook->do_action(Array)
       #3
       /home/wp_9w2zak/mydomain.com/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(122):
       do_action('woocommerce_shi...')
       #4
       /home/wp_9w2zak/mydomain.com/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(114):
       WC_Shipping->init()
       #5
       /home/wp_9w2zak/mydomain.com/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(68):
       WC_Shipping->__construct()
       #6
       /home/wp_9w2zak/mydomain.com/wp-content/plugins/woocommerce/includes/class-wc-shipping-zone.php(165):
       WC_Shipping::instance()
       #7 /home/wp_9w2zak/mydomain.com/ in
       /home/wp_9w2zak/mydomain.com/wp-content/plugins/fish-and-ships/fish-and-ships.php
       on line 2578
       Error: There has been a critical error on this website.Learn more about
       troubleshooting WordPress. There has been a critical error on this
       website.
       ```
   
 *  Plugin Author [wp-centrics](https://wordpress.org/support/users/wpcentrics/)
 * (@wpcentrics)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/fatal-stack-trace-from-fs/#post-14931624)
 * Thank you for your feedback. Maybe you are using wp cli? Another user has opened
   a support thread with same bug, and tells us that is related with wp cli
 *  Thread Starter [jberry86](https://wordpress.org/support/users/jberry86/)
 * (@jberry86)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/fatal-stack-trace-from-fs/#post-14949770)
 * It’s possible this is from wpcli; my hosting provider is attempting to setup 
   items for me and troubleshoot speed issues, and is unable to due to this stacktrace.
   It would be reasonable to assume they are using wpcli.
 *  Plugin Author [wp-centrics](https://wordpress.org/support/users/wpcentrics/)
 * (@wpcentrics)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/fatal-stack-trace-from-fs/#post-14950625)
 * Hi, [@jberry86](https://wordpress.org/support/users/jberry86/), other user asked
   for wp-cli, but I tested and worked for me.
 * …can’t reproduce the issue, can you, please, deactivate all other plugins and
   reactivate one by one, to tell me what does the incompatibility bug?
 * Thanks in advance,
    Carles Martin

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

The topic ‘Fatal Stack Trace from F&S’ is closed to new replies.

 * ![](https://ps.w.org/fish-and-ships/assets/icon-256x256.gif?rev=3374026)
 * [Advanced Shipping Rates for WooCommerce: Flexible Table Rate Shipping Rules](https://wordpress.org/plugins/fish-and-ships/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fish-and-ships/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fish-and-ships/)
 * [Active Topics](https://wordpress.org/support/plugin/fish-and-ships/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fish-and-ships/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fish-and-ships/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [wp-centrics](https://wordpress.org/support/users/wpcentrics/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/fatal-stack-trace-from-fs/#post-14950625)
 * Status: resolved