I am using the upgraded Drupal 4.7.0 from 4.7.rc2.

Whenever I sumbit the dashboard file, it gives

Fatal error: Cannot use string offset as an array in /home/httpd/suntoyou/modules/filter.module on line 842

I've also tried to set no permission for using filter, then certainly, no error comes out. But since the dashboard file is written in Php code, so I have to use filter module.

Besides Dashboard, the Bio module also has the same bug after using the filter module.

Thanks for all the work.

Bo

CommentFileSizeAuthor
#1 dashboard.module_0.patch598 byteswebchick
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

webchick’s picture

Status: Active » Needs review
FileSize
598 bytes

No time to test, but see if the following patch fixes it. It did in event module.

If so please submit a similar patch to Bio module and whatever other ones are exhibiting this problem.

borient’s picture

Category: bug » support

I am a newbie, not a programmer, the above patch did solve the error problem, but after the submits, it has a

warning: Invalid argument supplied for foreach() in /home/httpd/suntoyou/modules/dashboard/dashboard.module on line 227.

And the page doesn't appear as what it supposed to be.

Any people can help to look at this. I appreciate a lot.

merlinofchaos’s picture

Status: Needs review » Fixed

Patch committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)
joeboris’s picture

Version: » 4.7.x-1.x-dev

(Using Drupal 4.7.1)

I'm getting the same result with the Dashboard:
Fatal error: Cannot use string offset as an array in /home/(...)/modules/filter.module on line 842

I've just done a clean install of Drupal 4.7.1 and installed the latest release of Dashboard:
Download latest release (4.7.0, 15/05/2006 - 12:46, 10.82 KB)

Good work on the module! I can't wait to get it working!

Joeboris