Hi,
I can't access anymore on the backend of my website http://www.asnraincy.fr, with a "504 Gateway Time-out" error with Joomla 3.8, phocaGallery 4.3.10.
On the log, I can see the Following :
AH01071: Got error 'PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/asnraincy.fr/public_html/administrator/components/com_phocagallery/libraries/phocagallery/image/imagefront.php on line 474\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/asnraincy.fr/public_html/administrator/components/com_phocagallery/libraries/phocagallery/image/imagefront.php on line 474\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/asnraincy.fr/public_html/administrator/components/com_phocagallery/libraries/phocagallery/image/imagefront.php on line 474\n', referer: http://asnraincy.fr/index.php?option=co ... 21&lang=fr
How i can modify the file "imagefront.php" to remove this error ?
Thanks a lot
Regards
Sylvain
No access to back-end with an error on a phocagallery file
-
slyv
- Phoca Newbie

- Posts: 7
- Joined: 01 Nov 2018, 16:47
-
slyv
- Phoca Newbie

- Posts: 7
- Joined: 01 Nov 2018, 16:47
Re: No access to back-end with an error on a phocagallery file
I found how to remove this error on a other post replacing
TO:
Code: Select all
if ($rightDisplay == 0) {
$images = 0;
}
Code: Select all
if ($rightDisplay == 0) {
$images = array(0);
}
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: No access to back-end with an error on a phocagallery file
Ok
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: No access to back-end with an error on a phocagallery file
If you find Phoca extensions useful, please support the project