[Mon Dec 11 22:13:24.030261 2017] [php7:warn] [pid 64337] [client ::1:57491] PHP Warning: count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/js_composer_salient/include/classes/shortcodes/vc-row.php on line 119, referer: http://localhost/wp-admin/post.php?post=15&action=edit
Could you make sure you are using PHP 5.6 or higher on that localhost with a PHP memory limit at 128 MB or higher.
That log message is a PHP warning and not and error. The salient composer builder should load fine in this case.
If still does not work then disable all other plugins to make sure its not another plugin causing this issue. If that does not expose the cause then consider moving the site to a domain and giving us access to check this from the backend if the issue also happens there.
The developers are still working. We were under the impression you got this fixed up by yourself - The visual composer is working fine now (apparently).
It should get fixed in future updates to the theme. Hope this clears things up.
Hi,
I'm having a problem with Salient's Visual Composer. The box where the content is supposed to appear never gets filled - screenshots attached.
There's no console log error, and no apparent error on apache/php logs.
Salient Version: 8.5.3
Salient VC Version 5.2.4
Regards
Gennaro
Just double-checked, found this PHP error:
[Mon Dec 11 22:13:24.030261 2017] [php7:warn] [pid 64337] [client ::1:57491] PHP Warning: count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/js_composer_salient/include/classes/shortcodes/vc-row.php on line 119, referer: http://localhost/wp-admin/post.php?post=15&action=edit
Hi Gennaro,
Could you make sure you are using PHP 5.6 or higher on that localhost with a PHP memory limit at 128 MB or higher.
That log message is a PHP warning and not and error. The salient composer builder should load fine in this case.
If still does not work then disable all other plugins to make sure its not another plugin causing this issue.
If that does not expose the cause then consider moving the site to a domain and giving us access to check this from the backend if the issue also happens there.
Thanks.
Thanks Andrew!
It's PHP 7.2 with 128M memory limit. I've tried to disable other plugins, but the problem remained.
I've replaced this line in the "contentAdmin" function of the vc-row.php file
with:
The visual composer is working fine now (apparently)... could it be because of this PHP version?
Regards
Hey Again,
Yes its a PHP Version issue . Have noted to have the Developer look into this for upcoming updates.
Be.st
ThemeNectar Support Team
Hi, Tahir!
Any updates on this?
Thanks,
Gennaro
Hi Gennaro,
No update on this.
The developers are still working.
We were under the impression you got this fixed up by yourself - The visual composer is working fine now (apparently).
It should get fixed in future updates to the theme.
Hope this clears things up.
Hi Gennaro,
Thank you very very much for your solution. Modified the vc-row.php file and everything is now in order.
I just had the exact same issue running on php 7.2.0 on a localhost with xamp, Salient Version: 8.5.3, Salient VC Version 5.2.4