• Resolved JTL

    (@moehime)


    Hello,
    We used this plugin since 4 years and until today, there was no issue. But recently, the plugin caused a fatal error.
    [Fatal error: Uncaught TypeError: Aikinomi\Wbsng\ShippingMethod::configData(): Return value must be of type ?array]

    The problem is, the shipping method still appear but we do not have access to the shipping Zone of WooCommerce.

    Here some information:
    WordPress version 6.9
    Active theme: Astra (version 4.12.1)
    Current plugin: Weight Based Shipping for WooCommerce (version 6.13.0)
    PHP version 8.3.21

    Thank you for your help.

Viewing 1 replies (of 1 total)
  • Plugin Author Dan

    (@dangoodman)

    Hello @moehime,

    It looks like one your WBS shipping method’s data is corrupted.

    Temporarily remove all entries having option_name like wbsng_X_config, where X is a number, from the wp_options table in your WordPress database to see if the fatal error disappears. Then, return them back one at a time until you notice the error again. Skip this entry and restore the others.

    If that doesn’t help, it might be some third-party code overriding the configuration data at runtime. To check that deactivate other plugins, custom code snippets, and switch to the default theme. If that helps, follow the similar procedure to find the source of the issue.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.