Closed (works as designed)
Project:
Drupal core
Version:
6.x-dev
Component:
forms system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 May 2010 at 09:41 UTC
Updated:
9 Oct 2012 at 08:07 UTC
Jump to comment: Most recent
Comments
Comment #1
kenorb commentedComment #2
kenorb commentedSimilar issues:
#783124: Error: Cannot Use String Offset.. Form.Inc
#743666: Back button is not working on review page
#351847: Cannot use string offset as an array..
#346020: Fatal error when importing
#358328: Error while accessing View Tool
#684580: Recieve error after attempting to change css 3 selector.
#619918: Support for mysqli
#535642: Fatal error: Cannot use string offset as an array in /home3/flirtwit/public_html/Gator/includes/form.inc on line 979
#280682: PHP Fatal Error when reply OG post commit
#238290: Drupal 6.x port
#224118: Views as block and then configure
#466696: User create fails while generating a username with a whitespace
#353947: Fatal error: Cannot use string offset as an array in /home/pelicanb/public_html/includes/form.inc on line 978
#620420: "Fatal error" when trying to edit an Invoice
#707626: Fatal Error Cannot use string offset as an array
#126920: Fatal error: Cannot use string offset as an array form.inc on line 676
#737336: Blank page after "move to junk"
#342991: Port HS support for Taxonomy Views to Drupal 6
#610398: updating a node doesn't delete the cache file
#507892: Fatal error when submitting another form on the same page as aes_view_password_form
#535642: Fatal error: Cannot use string offset as an array in /home3/flirtwit/public_html/Gator/includes/form.inc on line 979
http://drupal.org/node/754194
http://drupal.org/node/741272
http://drupal.org/node/436312
http://drupal.org/node/652974
http://drupal.org/node/354601
http://drupal.org/node/255406#comment-834226
http://drupal.org/node/367234
http://drupal.org/node/368073
http://drupal.org/node/465062
http://drupal.org/node/245014
http://drupal.org/node/381820
http://drupal.org/node/381820
http://drupal.org/node/395438
Those issue are related to the same Drupal error.
Is there any common solution or some method of tracking these issues to prevent creating new issues related to that problem?
Any explanation why this happen so often?
Comment #3
ljrweb commentedany progress on this???
this is happening to me using hook_form_alter() in one of my custom modules..
thanks
Comment #4
heine commented@kenorb, the error indicates an incorrectly build form. In your case; You return $form_state from the formbuilder instead of a properly build form array. You also modify $form_state in the formbuilder.
@ljrweb, see the FAPI documentation, or post a support request in the forum.
Comment #5
damien tournoud commentedComment #6
ljrweb commentedchecking the apache logs:
child pid 1030 exit signal Segmentation fault (11)
that seems to be whats causing the issue for me.. apache crashing on the script i believe..
not sure how to fix it.
Comment #7
Anonymous (not verified) commentedIs support still needed for this issue? If not, I recommend closing.
Comment #8
kenorb commentedWorkaround is to use xdebug or other debuggers or print&die methods.