Closed (fixed)
Project:
Daily
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Oct 2006 at 06:40 UTC
Updated:
23 Oct 2006 at 11:51 UTC
Fatal error: Cannot use string offset as an array in /[path]/modules/system.module on line 745
(I think this is one of those errors that is only fatal in PHP5 which is why it might have been missed before, but I'm not sure.)
It seems daily.module is correctly trying to report that taxonomy.module needs to be enabled but instead of using drupal_set_error() it is returning the error message to the calling function see... _daily_form_error_no_taxonomy() and _daily_form_error_dev()
I would submit a patch myself but I'm still learning the ins and outs of standard Drupal coding style and how to use CVS etc. Guess it's time to learn ;-)
Comments
Comment #1
AltaVida commentedOops, I meant drupal_set_message() not drupal_set_error()
Comment #2
Frodo Looijaard commentedThanks for reporting this. The problem was also present when using PHP 4. It seems to be a left-over from porting the 4.6.x code to 4.7.x.
I have fixed the issue both in CVS HEAD and in the DRUPAL-4-7 tree.
Frodo
Comment #3
(not verified) commented