avatar LuxLOL
LuxLOL
26 Jun 2020

Steps to reproduce the issue

Installing the WebLinks extension. And creating a Joomla menu to a Web Link.
https://downloads.joomla.org/extensions/weblinks
This happens also with the WebLinks Module.

Expected result

No errors in the HTTP Server log.

Actual result

PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client1/web17/web/components/com_weblinks/models/categories.php on line 95
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client1/web17/web/modules/mod_weblinks/mod_weblinks.php on line 17

System information (as much as possible)

Joomla v3.9.19 with PHP v7.4 (fpm-fcgi) and MySQL v5.5.5

Additional comments

Forum Topic link: https://forum.joomla.org/viewtopic.php?f=715&t=980815

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar LuxLOL LuxLOL - open - 26 Jun 2020
avatar LuxLOL LuxLOL - change - 26 Jun 2020
The description was changed
avatar LuxLOL LuxLOL - edited - 26 Jun 2020
avatar LuxLOL LuxLOL - change - 26 Jun 2020
Title
WebLinks extension - Count / Countable bug in PHP 7.3+
Count / Countable bug in PHP 7.3+
avatar LuxLOL LuxLOL - edited - 26 Jun 2020
avatar LuxLOL LuxLOL - change - 26 Jun 2020
Title
Count / Countable bug in PHP 7.3+
[3.7.0] Count / Countable bug in PHP 7.3+
avatar LuxLOL LuxLOL - edited - 26 Jun 2020
avatar LuxLOL LuxLOL - change - 26 Jun 2020
Title
[3.7.0] Count / Countable bug in PHP 7.3+
[3.7.0] Count / Countable bug in PHP 7.4+
avatar LuxLOL LuxLOL - edited - 26 Jun 2020
avatar ReLater
ReLater - comment - 23 Mar 2021

PR only for the module issue (confirmed with Joomla 3.9.x): #432

avatar joomdonation joomdonation - close - 18 Aug 2021
avatar joomdonation
joomdonation - comment - 18 Aug 2021

Fixed in latest codebase and will be included in next release. So I'm closing this issue.

avatar joomdonation joomdonation - change - 18 Aug 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-08-18 07:45:42
Closed_By joomdonation

Add a Comment

Login with GitHub to post a comment