Moonsoft Software Solutions

Errors with php 8.1 for joomla 3

Started 7 Apr 2022 · 10 replies

  1. Jean Machuron
    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
  2. Moonsoft support
    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
  3. Jean Machuron
    Hi
    Thanks for the update, however the version is not available on CalcBuilder but only on CalcBuilder extended ??
  4. Moonsoft support
    Hi,
    right,as that code is only present at the extended version,being the integration with VM.
  5. Jean Machuron
    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
  6. Moonsoft support
    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.
  7. Moonsoft support
    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 30-March-2022 13:28 GMT
    Joomla! Platform Version Joomla Platform 13.1.0 Stable 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
  8. Moonsoft support
    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,
  9. Moonsoft support
    3.4.6 download has now appeared however, the archive is empty! The J4 download is fine but this one not.
  10. Moonsoft support
    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
  11. Moonsoft support
    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

Still stuck?

Customers with an active license can open a support ticket.

Log in to open a ticket