• Resolved jberry86

    (@jberry86)


    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

    (@wpcentrics)

    Hi, @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

    (@jberry86)

    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

    (@wpcentrics)

    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

    (@jberry86)

    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

    (@wpcentrics)

    Hi, @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.