Forum


Calc Builder Support

Calc Builder support
Forums
Public write access is disabled. Please login

Errors with php 8.1 for joomla 3 07.04.2022 19:33

Hello
It seems like the version for joomla 3 has not been updated for php 8.1

Error is
Exception Type: TypeError
File: /administrator/components/com_calcbuilder/models/utility.php
Line: 423
Message: count(): Argument #1 ($value) must be of type Countable|array, null given

Could you correct it and elsewhere ?

thing like (is_countable($data) && count($data)) should be ok

Re: Errors with php 8.1 for joomla 3 08.04.2022 16:37

Hi,
the CB for J3 works with PHP8+, although any minor change may be needed for adjust the integration with other exts, like Virtuemart on your example, thanks for reporting.
We have uploaded a new version with the proper tweak before that line, so you can upgrade and try again now.

Thank you
Moonsoft Team
www.moonsoft.es

Re: Errors with php 8.1 for joomla 3 13.04.2022 09:52

Hi
Thanks for the update, however the version is not available on CalcBuilder but only on CalcBuilder extended ??

Re: Errors with php 8.1 for joomla 3 13.04.2022 10:22

Hi,
right,as that code is only present at the extended version,being the integration with VM.
Moonsoft Team
www.moonsoft.es

Re: Errors with php 8.1 for joomla 3 25.04.2022 11:39

Hi
Yes I understand but that's an issue because we have renewed for CalcBuilder until end of this year and that's impossible to download CalcBuilder Extended.
It's also impossible to renew subscription to CalcBuilder extended any longer on your website.
Can you tell me if I can safely suppress CaclBuilder Extended from our website and add the simple version without loosing all of our calculators ? or is there any other thing to do ?
BTW we don't use virtuemart at all on any website.
Thanks for the hint
Best regards

Re: Errors with php 8.1 for joomla 3 25.04.2022 13:13

Hi,
in fact you shouldn't have any issue, because with your purchase, you already have access to all needed versions. Even if Calcbuilder is not called 'extended' anymore, you can download this version from your dashboard. Just access your Calcbuilder tab, browse the right panel 'Previous releases' and scroll down to the latest version for Joomla 3 (3.4.5). The download will provide a '_pro' installer with the update commented above, you can use this installer to upgrade your actual version for Joomla 3.
Moonsoft Team
www.moonsoft.es

Re: Errors with php 8.1 for joomla 3 10.05.2022 10:11

I am getting this exact same error.

Joomla says there is an update to 3.4.6 but I can see no such update for J3.x

An error has occurred.
0 count(): Argument #1 ($value) must be of type Countable|array, null given
Return to Control Panel

In the front end I get no result just Invalid Token

I've only just bought this but am close to requesting a refund.

Setting Value

PHP Built On Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
Database Type mysql
Database Version 5.7.36-log
Database Collation utf8_general_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 8.0.18
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.10.8 Stable [ Daraja ] 30-March-2022 13:28 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36

Re: Errors with php 8.1 for joomla 3 10.05.2022 10:38

Hi,

This issue was reported for a previous version, so you shouldn't be seeing that message if you are using latest version. Given your comment about the update, this seems to be the problem. Please access your dashboard and double check you have available the update/installer for 3.4.6 version. Install it and try again.

If you have further problems please let us know. Of course, you are also free for asking a refund within the guarantee period.

Regards,
Moonsoft Team
www.moonsoft.es

Re: Errors with php 8.1 for joomla 3 13.05.2022 11:44

3.4.6 download has now appeared however, the archive is empty! The J4 download is fine but this one not.

Re: Errors with php 8.1 for joomla 3 21.06.2022 17:26

Hello,
after receiving some more feedback about the php 8 update, we have created a new version that solves all issues also regarding the internal libraries. We have marked it as 'only valid for php 8 ' to avoid confusion with other releases available for Joomla 3.

Edited by MSTeam - 21.06.2022 17:32
Moonsoft Team
www.moonsoft.es

Re: Errors with php 8.1 for joomla 3 03.08.2022 20:48

It is only 1 kb file. Actually both 3.46 and 3.47 are only 1 kb file. How to download it and install. Thanks
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Our clients' feedback