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

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

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

Post by 01Kuzma »

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: 47810
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 »

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 Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 01 Sep 2012, 10:27

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

Post by 01Kuzma »

Hi!
Acessing guestbook, Joomla is 3.8.6, php 7.1
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
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 »

Do you use tinymce editor?

Jan
If you find Phoca extensions useful, please support the project
01Kuzma
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 01 Sep 2012, 10:27

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

Post by 01Kuzma »

Nope, JCE
thola
Phoca Member
Phoca Member
Posts: 39
Joined: 30 Sep 2015, 12:30

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

Post by thola »

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: 47810
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 »

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: 39
Joined: 30 Sep 2015, 12:30

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

Post by thola »

Yes, same problem
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
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 »

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