Page 1 of 1

Error

Posted: 06 May 2018, 07:12
by Coolhand
Good Day!

I need some help in getting rid of an error:

Warning: count(): Parameter must be an array or an object that implements Countable in /www/htdocs/w0108e5e/hobby-fotografie.mobi/app/parsers/Twig/Extension/Core.php on line 1199

Live view:
https://www.hobby-fotografie.mobi/blog/


Greetings

Mike

Re: Error

Posted: 06 May 2018, 08:14
by mjau-mjau
This is because your server installed new PHP 7.2, which reports “warnings” (not errors) for count() function in TWIG (template engine). I will be updating the TWIG engine in next X3 release (coming in 3-4 weeks).

In the meantime, your options are: 1) downgrade to PHP 7.1, or 2) Disable PHP “warnings”.

Re: Error

Posted: 06 May 2018, 08:25
by Coolhand
Thx for the fast answer, I've downgraded to PHP 7.1 !!

Thx!!!

Re: Error

Posted: 18 Aug 2018, 04:15
by mjau-mjau
Coolhand wrote:Warning: count(): Parameter must be an array or an object that implements Countable in /www/htdocs/w0108e5e/hobby-fotografie.mobi/app/parsers/Twig/Extension/Core.php on line 1199
This issue should now be resolved in version X3.25.0. Feel free to upgrade to PHP 7.2.
www.photo.gallery/blog/photo-gallery-X3-25/ | forum