Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The what I would call "options" section of the edit pages (Publishing Options, URL path settings, etc...) displays nothing with the latest build. I'm getting this error:
Notice: Array to string conversion in include() (line 13 of /home/thenet/public_html/sites/all/themes/bootstrap/theme/bootstrap/bootstrap-panel.tpl.php).
Notice: Array to string conversion in include() (line 13 of /home/thenet/public_html/sites/all/themes/bootstrap/theme/bootstrap/bootstrap-panel.tpl.php).
Notice: Array to string conversion in include() (line 13 of /home/thenet/public_html/sites/all/themes/bootstrap/theme/bootstrap/bootstrap-panel.tpl.php).
Notice: Array to string conversion in include() (line 13 of /home/thenet/public_html/sites/all/themes/bootstrap/theme/bootstrap/bootstrap-panel.tpl.php).
Notice: Array to string conversion in include() (line 13 of /home/thenet/public_html/sites/all/themes/bootstrap/theme/bootstrap/bootstrap-panel.tpl.php).
Notice: Array to string conversion in include() (line 13 of /home/thenet/public_html/sites/all/themes/bootstrap/theme/bootstrap/bootstrap-panel.tpl.php).
Notice: Array to string conversion in include() (line 13 of /home/thenet/public_html/sites/all/themes/bootstrap/theme/bootstrap/bootstrap-panel.tpl.php).
Comments
Comment #1
TheNet_ CreditAttribution: TheNet_ commenteddeleted
Comment #2
TheNet_ CreditAttribution: TheNet_ commentedComment #3
TheNet_ CreditAttribution: TheNet_ commentedAnyone else having this problem?
Comment #4
markhalliwellIt sounds like you have a module that is trying to set an element's attribute key as a string instead of an array. For example:
$element['attributes']['class'] = 'my class'
Instead of:
$element['attributes']['class'] = array('my class')
or$element['attributes']['class'][] = 'my class'
I would suggest disabling some modules or do a regex search (something like
/\['attributes'\]\['class'\] = '[^']*'/i
) to find the culprit.When you find the module responsible, please reassign this issue to that module.
Comment #5
markhalliwellScripted response: This issue has been closed while cleaning up the issue queue. This issue has had insufficient information, has not followed proper instructions or has likely already been addressed in 7.x-3.x-dev.