Warning: Invalid argument supplied for foreach() in phocaeditor.php on line 83

Phoca Guestbook - creating guestbooks in Joomla! CMS
01Kuzma
Phoca Member
Phoca Member
Posts: 39
Joined: 01 Sep 2012, 10:27

Warning: Invalid argument supplied for foreach() in phocaeditor.php on line 83

Post by 01Kuzma » 09 Apr 2018, 11:13

Hi there!
just upgraded from version 3.0.6 to 3.0.7 and I get this error:

Code: Select all

Warning: Invalid argument supplied for foreach() in /com_phocaguestbook/models/fields/phocaeditor.php on line 83
How could it be fixed?
Thank you!

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

Re: Warning: Invalid argument supplied for foreach() in phocaeditor.php on line 83

Post by Jan » 16 Apr 2018, 12:06

Hi, which Joomla! version do you run? Where exactly do you get this error?

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

01Kuzma
Phoca Member
Phoca Member
Posts: 39
Joined: 01 Sep 2012, 10:27

Re: Warning: Invalid argument supplied for foreach() in phocaeditor.php on line 83

Post by 01Kuzma » 16 Apr 2018, 12:13

Hi!
Acessing guestbook, Joomla is 3.8.6, php 7.1

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

Re: Warning: Invalid argument supplied for foreach() in phocaeditor.php on line 83

Post by Jan » 19 Apr 2018, 16:44

Do you use tinymce editor?

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


thola
Phoca Member
Phoca Member
Posts: 28
Joined: 30 Sep 2015, 12:30

Re: Warning: Invalid argument supplied for foreach() in phocaeditor.php on line 83

Post by thola » 20 Apr 2018, 17:58

have the same problem
and
Notice: Trying to get property of non-object in......httpdocs/components/com_phocaguestbook/models/fields/phocaeditor.php on line 79

Notice: Trying to get property of non-object in ......httpdocs/components/com_phocaguestbook/models/fields/phocaeditor.php on line 80

Warning: Invalid argument supplied for foreach() .....httpdocs/components/com_phocaguestbook/models/fields/phocaeditor.php on line 83

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

Re: Warning: Invalid argument supplied for foreach() in phocaeditor.php on line 83

Post by Jan » 22 Apr 2018, 14:48

Do you get the errors when you switch to tinymce?

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

thola
Phoca Member
Phoca Member
Posts: 28
Joined: 30 Sep 2015, 12:30

Re: Warning: Invalid argument supplied for foreach() in phocaeditor.php on line 83

Post by thola » 23 Apr 2018, 16:51

Yes, same problem

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

Re: Warning: Invalid argument supplied for foreach() in phocaeditor.php on line 83

Post by Jan » 28 Apr 2018, 10:38

Hmmm, there there seems to be some problem in Joomla! on your site because the code just takes the settings from tiny mce plugin - so if the parameters are not stored on your server, hard to say :idea:

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

Post Reply