1. SP Simple Portfolio
  2. Tuesday, 11 February 2020
Dear Joomshaper team,

I´m getting the following error when upgrading to PHP 7.3:

Warning: count(): Parameter must be an array or an object that implements Countable in /modules/mod_spsimpleportfolio/helper.php on line 105

Solution:
Edit the file: /modules/mod_spsimpleportfolio/helper.php
Jump to line 105

Change from

if(count($result)) {
return '&Itemid=' . $result;
}


to


if($result) {
return '&Itemid=' . $result;
}


Please add this in future updates.
Accepted Answer
Hello WinHelp GmbH,
Thank you for your solution. The development team will look into it.

- Best regards
  1. more than a month ago
  2. SP Simple Portfolio
  3. # Permalink
Responses (1)


There are replies in this post but you are not allowed to view the replies from this post.


This forum is archived

This forum has been archived. Please use JoomShaper official support system.