Hello,
With Detail view setting -> Detail windows, select "Jak Lightbox" we have the error :
Deprecated: implode (): Passing glue string after array is deprecated. Swap the parameters in components/com_phocagallery/views/category/view.html.php on line 2104
Indeed the option "Jak Lightbox" calls the function "implode ()"
// ADD JAK DATA CSS style
if ($ this-> t ['detail_window'] == 6) {
$ document-> addCustomTag ('<script type = "text / javascript">'
. 'var dataJakJs = ['
. implode ($ this-> t ['jakdatajs'], ',')
. ']'
. '</script>');
}
With another option no problem
Best regards
Philippe Dougoud
Error with option Jaklightbox
-
- Phoca Hero
- Posts: 2734
- Joined: 28 Nov 2010, 17:20
Re: Error with option Jaklightbox
Hi,
JAK is an older (rozmery gallery) library and we have no influence on development.
Kind regards
Christine
JAK is an older (rozmery gallery) library and we have no influence on development.
Kind regards
Christine
-
- Phoca Member
- Posts: 12
- Joined: 18 Apr 2011, 07:38
Re: Error with option Jaklightbox
Hi,
Thank you for the quick reply.
Sure enough, it looks like it's related to PHP 7.4 or higher.
I think it would be nice to remove this option.
It is a source of error on the display.
Best regards
Philippe
Thank you for the quick reply.
Sure enough, it looks like it's related to PHP 7.4 or higher.
I think it would be nice to remove this option.
It is a source of error on the display.
Best regards
Philippe
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error with option Jaklightbox
Hi, first of all, this is not an error but info for developers (that such method will be removed in next PHP version), so for production website, disabling the PHP error reporting will not display this warning.
But thank you very much for the info. Yes, JAK is obsolete and will be removed in version 4.5 but this PHP derecated warning can be managed and will be fixed in next version.
Thank you, Jan
But thank you very much for the info. Yes, JAK is obsolete and will be removed in version 4.5 but this PHP derecated warning can be managed and will be fixed in next version.
Thank you, Jan
If you find Phoca extensions useful, please support the project