• Resolved WP Help

    (@itswphelp)


    Hello Team,

    I have encountered a problem recently after the update. It throws a fatal error if the plugin is activated.

    Fatal error: Uncaught Error: Call to a member function needs_shipping()

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Brett Porcelli

    (@bporcelli)

    Hi,

    There were no code changes in the last Simple Sales Tax update. We strictly bumped the supported versions of WooCommerce and WordPress in the plugin headers. In addition, this error didn’t show up in our automated or manual testing and I can’t reproduce it now. It is extremely unlikely that whatever you are experiencing is directly related to SST or any recent updates to it.

    It’s hard to tell with just the truncated error message you provided, but it looks like there’s some code on your site – perhaps a plugin you updated recently, perhaps a custom code snippet in your theme – that is unsetting the ‘data’ property on the cart items in the WooCommerce cart shipping packages. This property is strictly required by SST and if this theory is correct you’re going to have to find the offending plugin/theme code and either disable or update it to correct the issue. One way to go about this would be to install a standard core WP theme (like Twenty Twenty Two) and deactivate all plugins except for WooCommerce and SST to see if the problem goes away. If it does, then you can reactivate plugins and your theme one by one until the issue reappears to identify the culprit.

    In the meantime if you send a copy of your WooCommerce > Status report and the full text of the error message to [email protected] and I can do a little more digging to try to identify the conflicting code and definitively confirm that the problem was not caused by a recent SST update.

    – Brett

    Thread Starter WP Help

    (@itswphelp)

    Hello Brett,

    I have emailed you the details.

    Thank you for the quick response

    Thread Starter WP Help

    (@itswphelp)

    Hello Brett,

    I mailed over [email protected] it, but it says Address not found.

    can you please check it once.

    Thank You! ??

    Plugin Author Brett Porcelli

    (@bporcelli)

    Sorry about that! Please try submitting that information to [email protected] instead.

    Thanks,
    Brett

    Thread Starter WP Help

    (@itswphelp)

    Hello Brett,

    I have emailed you the details on [email protected].

    Thank you for the quick response`

    Plugin Author Brett Porcelli

    (@bporcelli)

    You’re welcome!

    Plugin Author Brett Porcelli

    (@bporcelli)

    As per our discussion via email, I can’t reproduce this. I will need access to a copy of your site to reproduce the error and determine where it comes from and if its even directly caused by SST. Until then I’m marking this topic as resolved.

    Best regards,
    Brett

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal Error on Mobile’ is closed to new replies.