• Resolved addviso

    (@addviso)


    Hello,

    In your class Af_Role_Based_Tax_Front, you define default value for var $arbtAllowCompound and $arbtAllowShipping only in case the user is logged. So when user not logged, we naturally have this error :
    Warning: Undefined variable $arbtAllowCompound in /www/plugins/addify-woocommerce-role-based-tax/front/class-addify-role-based-tax-front.php on line 282

    Could you fix, please ?

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thanks for reaching out. The warning you’re seeing isn’t coming from WooCommerce itself — it’s generated by the Addify WooCommerce Role-Based Tax plugin. Specifically, the variables $arbtAllowCompound and $arbtAllowShipping aren’t being initialized for guest users in that plugin’s code, which leads to the PHP warning.

    Since this relates to a third-party plugin, I’d recommend contacting the plugin’s support team so they can review and provide a proper fix. They’ll be in the best position to patch the plugin and ensure the variables are handled correctly for both logged-in and guest users.

    Thread Starter addviso

    (@addviso)

    Yes you’re right about third-party plugin.

    Finally, i’ve found addify support.

    Thank you.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Glad to hear you were able to get in touch with Addify support.

    By the way, if you’ve found WooCommerce helpful in setting up your store, we’d really appreciate it if you could take a moment to leave us a ★★★★★ review here:
    https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/#new-post

    Your feedback helps us keep improving and also assists other store owners in choosing WooCommerce.


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

The topic ‘Plugin Role Based Tax : AllowCompound and shipping’ is closed to new replies.