Warning: count(): Parameter must be an array or an object that implements Countable in PAGEBUILDER

themeforest

#1

I am using Flex template, joomla 3.8.6 and php 7.2

When used seach plugin appears this error:

Warning: count(): Parameter must be an array or an object that implements Countable in /srv/domains/www.albacore.com.br/homol/plugins/search/sppagebuilder/sppagebuilder.php on line 154

In line 154 has the command if(count($result)) {

Please, let me know if there is any workaround for this issue.

tks a lot


#2

Edit: PHP 7.2 is reportedly not supported by that page builder plugin yet. Try downgrading to PHP 7.0 if you can. (Source)