Error bccomp shipping methods

  • Posts: 220
  • Thank you received: 8
1 year 11 months ago #347544

-- HikaShop version -- : 4.5.0
-- Joomla version -- : 3.10.11
-- PHP version -- : 8.0.25

Hi,

After updating to PHP 8.0 I can't use the submenu Shipping methods.
When clicking on this menu I get a white page with the eror message

bccomp(): Argument #1 ($num1) is not well-formed
C:\xampp\htdocs\XXX\administrator\components\com_hikashop\classes\shipping.php:994

Remarkable: this error only happens on the local XAMMP site.
On the live site (using the same program versions) all is well.

I activated the debug system for more information. Results in the attachment.

I read some tickets about the same kind of error but not regarding to the shipping methods.

Hope you can help.

Udo

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 11 months ago #347563

Hi,

I believe that's an error we fixed in HikaShop 4.6.2. It comes from changes made in PHP 8 and PHP 8.1 for the use of bccomp.
Updating your HikaShop to the latest version will automatically fix the problem.

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum