Phoca Gallery errors in PHP8.0.22

Phoca Gallery - image gallery extension
historyhugh
Phoca Member
Phoca Member
Posts: 21
Joined: 22 Aug 2022, 08:30

Phoca Gallery errors in PHP8.0.22

Post 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

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Phoca Gallery errors in PHP8.0.22

Post by christine »

Hi Hugh,

could you try with PHP 8.0 please?
Kind regards
Christine
historyhugh
Phoca Member
Phoca Member
Posts: 21
Joined: 22 Aug 2022, 08:30

Re: Phoca Gallery errors in PHP8.0.22

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Phoca Gallery errors in PHP8.0.22

Post by christine »

High Hugh,

that's gratifying and thanks for your feedback.

Kind regards
Christine
Post Reply