PHP7 Error!

Phoca Photo - image gallery extension
arthurjohnston
Phoca Member
Phoca Member
Posts: 31
Joined: 13 Jul 2011, 07:13
Location: Lake Elsinore, California USA
Contact:

PHP7 Error!

Post by arthurjohnston »

Using Joomla! 3.9
Ubuntu 18.04
PHP 7.2

The images in the Phoca Photo Page are not displaying properly. The following php7 errors appear in my server logs:
======================================================
[php7:warn] [pid 3390] [client 000.000.000.0:56773] PHP Warning: Illegal string offset 'name' in /XXX/XXX/XXX/XXX/administrator/components/com_phocaphoto/helper$
[php7:warn] [pid 3390] [client 000.000.000.0:56773] PHP Warning: Illegal string offset 'type' in /XXX/XXX/XXX/XXX/administrator/components/com_phocaphoto/helper$
[php7:warn] [pid 3390] [client 000.000.000.0:56773] PHP Warning: Illegal string offset 'creationDate' in /XXX/XXX/XXX/XXX/administrator/components/com_phocaphot$
[php7:warn] [pid 3390] [client 000.000.000.0:56773] PHP Warning: Illegal string offset 'author' in /XXX/XXX/XXX/XXX/administrator/components/com_phocaphoto/help$
[php7:warn] [pid 3390] [client 000.000.000.0:56773] PHP Warning: Illegal string offset 'copyright' in /XXX/XXX/XXX/XXX/administrator/components/com_phocaphoto/h$
[php7:warn] [pid 3390] [client 000.000.000.0:56773] PHP Warning: Illegal string offset 'authorEmail' in /XXX/XXX/XXX/XXX/administrator/components/com_phocaphoto$
[php7:warn] [pid 3390] [client 000.000.000.0:56773] PHP Warning: Cannot assign an empty string to a string offset in /XXX/XXX/XXX/XXX/administrator/components/c$
[php7:warn] [pid 3390] [client 000.000.000.0:56773] PHP Warning: Illegal string offset 'authorUrl' in /XXX/XXX/XXX/XXX/administrator/components/com_phocaphoto/h$
[php7:warn] [pid 3390] [client 000.000.000.0:56773] PHP Warning: Illegal string offset 'version' in /XXX/XXX/XXX/XXX/administrator/components/com_phocaphoto/hel$
[php7:warn] [pid 3390] [client 000.000.000.0:56773] PHP Warning: Illegal string offset 'description' in /XXX/XXX/XXX/XXX/administrator/components/com_phocaphoto$
[php7:warn] [pid 3390] [client 000.000.000.0:56773] PHP Warning: Illegal string offset 'group' in /XXX/XXX/XXX/XXX/administrator/components/com_phocaphoto/helpe$
[php7:warn] [pid 3390] [client 000.000.000.0:56773] PHP Warning: Cannot assign an empty string to a string offset in /XXX/XXX/XXX/XXX/administrator/components/c$
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PHP7 Error!

Post by Jan »

Hi, thank you for the info. Will be fixed in next version.

Thank you, Jan
If you find Phoca extensions useful, please support the project
Post Reply