Page 1 of 1

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

Posted: 09 Apr 2018, 11:13
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!

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

Posted: 16 Apr 2018, 12:06
by Jan
Hi, which Joomla! version do you run? Where exactly do you get this error?

Jan

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

Posted: 16 Apr 2018, 12:13
by 01Kuzma
Hi!
Acessing guestbook, Joomla is 3.8.6, php 7.1

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

Posted: 19 Apr 2018, 16:44
by Jan
Do you use tinymce editor?

Jan

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

Posted: 19 Apr 2018, 17:48
by 01Kuzma
Nope, JCE

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

Posted: 20 Apr 2018, 17:58
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

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

Posted: 22 Apr 2018, 14:48
by Jan
Do you get the errors when you switch to tinymce?

Jan

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

Posted: 23 Apr 2018, 16:51
by thola
Yes, same problem

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

Posted: 28 Apr 2018, 10:38
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