• Resolved Anastasia

    (@anastasia08)


    We are having the black friday now and wanted to show discounted prices wight on the site, as we checked the box “Discounted Price Becomes “Sale Price” (Recommended!)” as you recommend.

    As a result, the cart shows the following fatal error and it is impossible to make the order.

    Fatal error: require_once(): Failed opening required ‘B2BKING_DIRpublic/class-b2bking-helper.php’ (include_path=’.:’) in /var/www/u0423292/data/www/mymileo.ru/wp-content/plugins/b2bking-wholesale-for-woocommerce/public/class-b2bking-dynamic-rules.php on line 4912

    Why does it happen and how can we fix it?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Anastasia

    (@anastasia08)

    Here is additional what apprears in the cart when we check in the box to show prices as discounted:

    Warning: Use of undefined constant B2BKING_DIR - assumed 'B2BKING_DIR' (this will throw an Error in a future version of PHP) in /var/www/u0423292/data/www/mymileo.ru/wp-content/plugins/b2bking-wholesale-for-woocommerce/public/class-b2bking-dynamic-rules.php on line 4912
    
    Warning: require_once(B2BKING_DIRpublic/class-b2bking-helper.php): failed to open stream: No such file or directory in /var/www/u0423292/data/www/mymileo.ru/wp-content/plugins/b2bking-wholesale-for-woocommerce/public/class-b2bking-dynamic-rules.php on line 4912

    Thanks for your feedback in advance

    Plugin Author WebWizards

    (@webwizardsdev)

    Thank you for letting me know,

    I have now released an update which I believe can fix it. It is version 4.2.34

    If you do not see the update available in the backend, you can delete the plugin and re-install it, to get the latest version.

    Please check and let me know if that solves it for you,

    Thread Starter Anastasia

    (@anastasia08)

    Thank you very much for the update. We have updated our version. Now it doesn’t show the fatal error, but the total cart shows the prices without the discount…. Is it possible to fix somehow..? Thanks a lot in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error when checking the box’ is closed to new replies.