First, I installed TinyMCE and the latest Moxiecode version. After enabling, on the Permissions page I get:

notice: Undefined index: #type in /home/solerdma/public_html/modules/search/search.module on line 1098.

Then, when I go to create a new profile, on /settings/tinymce/add I get:

* notice: Undefined index: #type in /home/solerdma/public_html/modules/search/search.module on line 1098.
* notice: Undefined index: button in /home/solerdma/public_html/sites/all/modules/tinymce/tinymce.module on line 444.
* notice: Undefined index: button in /home/solerdma/public_html/sites/all/modules/tinymce/tinymce.module on line 444.
* notice: Undefined index: button in /home/solerdma/public_html/sites/all/modules/tinymce/tinymce.module on line 444.
* warning: Invalid argument supplied for foreach() in /home/solerdma/public_html/includes/form.inc on line 1194.
* notice: Undefined offset: 73 in /home/solerdma/public_html/sites/all/modules/tinymce/tinymce.admin.inc on line 424.
* notice: Undefined offset: 74 in /home/solerdma/public_html/sites/all/modules/tinymce/tinymce.admin.inc on line 425.

After I create the profile, I got to create a page and there is no TinyMCE editor with the body field..... When I uninstall it, all the problems go away (though I still have no Text editor). Note this is with Drupal 6.5-dev.

Comments

mennonot’s picture

Component: Miscellaneous » Code

I got this error too when I went to the TinyMCE settings page:

warning: Invalid argument supplied for foreach() in /home/sites/speak.org.uk/public_html/training/includes/form.inc on line 1194.

My profile creation went along fine, but there is no TinyMCE in the body field when I create a new page.

So far I've tried:

Installing a patch for a very similar error and then deleting the old profile and creating a new one.

The editor still isn't showing up.

yosemite’s picture

same here

fresh install of latest d6 and modules. all went fine until i hit this error and i can not create a profile in tinymce
warning: Invalid argument supplied for foreach() in /home/includes/form.inc on line 1194.

maceo’s picture

same here:

install -> activate -> set permissions -> create profile

"warning: Invalid argument supplied for foreach() in /home/mysite/public_html/includes/form.inc on line 1194."

dr.fox’s picture

i also have this problem on DP 6 and latest version of TINYMCE !

warning: Invalid argument supplied for foreach() in /home/winbeta/public_html/drupal6/includes/form.inc on line 1194.

mupsi’s picture

Issue summary: View changes
Status: Active » Closed (outdated)