Page 1 of 1

Phoca Gallery errors in PHP8.0.22

Posted: 14 Sep 2022, 17:14
by historyhugh
Hi Jan

In both my active Joomla3 websites, everything is working normally when using PHP7.4.30.

However, if I update to PHP8.0.22, in the backend, when I press Components / Phoca Gallery I immediately get the error:

- An error has occurred.
- 0 Cannot access offset of type string on string

If I try to select Components/Phoca Gallery / Images I get

- An error has occurred.
- 0 implode(): Argument #2 ($array) must be of type ?array, string given

If I revert to PHP7.4.30 everything works normally again.

Please can you help or suggest what I should do?

Hugh

Re: Phoca Gallery errors in PHP8.0.22

Posted: 14 Sep 2022, 21:17
by christine
Hi Hugh,

could you try with PHP 8.0 please?
Kind regards
Christine

Re: Phoca Gallery errors in PHP8.0.22

Posted: 15 Sep 2022, 11:37
by historyhugh
Hi Christine,

Many thanks for speedy reply.

Having checked everything again carefully, I found that the version of Phoca Gallery was not actually 4.4.3. I have now installed 4.4.3 and all is well, on PHP7.4.30 and PHP8.0.22.

This thread could be closed/solved!

Thanks again

Hugh

Re: Phoca Gallery errors in PHP8.0.22

Posted: 15 Sep 2022, 13:06
by christine
High Hugh,

that's gratifying and thanks for your feedback.

Kind regards
Christine