TinyMCE creating profile error: Invalid argument supplied for foreach() /public_html/includes/form.inc on line 1194.
comerer - October 22, 2008 - 10:55
I installed a TinyMCE module and enabled it.
While creating a new profile I receiving on the top some error:
warning: Invalid argument supplied for foreach() in /home/canadaru/public_html/includes/form.inc on line 1194.
How can I fix this error?
Thank you in advance

no one knows the answer??
no one knows the answer??
I got the same error
Hello
I got the same error. I think it is related with the template. I am still lokking for the solution.
Found a solution
Hey I found a solution. People say that it is a bug in TinyMCE.
Here is the solution. It is not mine.
"depace" wrote:
In tinymce.admin.inc file, change line no. 120 from
'#default_value' => isset($edit->rids) ? array_keys((array) $edit->rids) : NULL,
to
'#default_value' => isset($edit->rids) ? array_keys((array) $edit->rids) : array(),
This solution is from the page at: http://drupal.org/node/283879
You can find the other answers if you want. There are other solutions but this one worked for me.
Good luck.
Worked for me too. Thank you
Worked for me too. Thank you raskolt. I'm running 6.6.
Thank
This worked for me too!
I'm running Drupal 6.10 and TinyMCE 3.2.2.3.
Thanks,
A
Raskolt solution solve my problem
Raskolt,
thanks for help.
Im start using drupal 6.0.
Your post save a lot time. I apply the correction in code, and TinyMCE works.
Im Thankful for your help.