favicon 3.01 compatible avec php 7.1?

Phoca Favicon - simple creation of favicon in Joomla! CMS
claudephilo
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 05 Sep 2018, 17:06

favicon 3.01 compatible avec php 7.1?

Post by claudephilo » 05 Sep 2018, 17:16

Bonjour
Depuis le passage de php 7.0 à php 7.1 j'ai le message suivant après création du favicon:

Warning: Illegal string offset 'name' in /datas/vol2/w4a136308/var/www/snphi.org/htdocs/administrator/components/com_phocafavicon/helpers/phocafavicon.php on line 875

Est-ce normal ?

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 41768
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: favicon 3.01 compatible avec php 7.1?

Post by Jan » 06 Sep 2018, 10:17

Hi, thank you for the info, will be udpated in next version, for now you can do quick fix in administrator/components/com_phocafavicon/helpers/phocafavicon.php on line 868

FROM:

Code: Select all

$xml_items = '';
TO:

Code: Select all

$xml_items = array();
Jan
If you find Phoca extensions useful, please support the project

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 41768
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: favicon 3.01 compatible avec php 7.1?

Post by Jan » 22 Feb 2019, 12:09

Hi, should be OK in version 3.0.2

https://www.phoca.cz/news/1013-phoca-fa ... 2-released

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

Post Reply