Posted by kingfisher64 on November 25, 2012 at 9:53pm
8 followers
Jump to:
| Project: | AdaptiveTheme |
| Version: | 7.x-3.1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Notice: Array to string conversion in at_get_plugins() (line 38 of C:\wamp\www\active-local-projects\siv\sites\all\themes\adaptivetheme\at_core\inc\plugins.inc).There's 4 of them being output. I've got atpe as the theme layout.
drupal 7.17
php 5.4.3
Comments
#1
Need more info, cannot reproduce with this information.
#2
What further information do you need Jeff? I'll try my best to disclose it once I know what you're after.
local setup:
drupal 7.17
apache 2.4.2
php 5.4.3
mysql 5.5.24
http://drupal.org/project/panels 7.x-3.3 (2012-Aug-18) - #6 patch from http://drupal.org/node/1828684 applied
http://drupal.org/project/ctools - 7.x-1.2 (2012-Aug-18)
http://drupal.org/project/panels everywhere 7.x-1.0-rc1 (2012-Jul-11)
http://drupal.org/project/panelizer 7.x-3.x-dev (2012-Nov-17)
running latest themes
adaptivetheme 7.x-3.1 - 29th Aug
at_panelseverywhere 7.x-3.x-dev - 19th Sept
settings of atpe theme:
Enabled extensions (global setting)
Title styles
Image alignment and captions
Markup overrides
I suspect this is a php 5.4 issue. That's a stab in the dark but there's been a few issues with this version.
As usual many thanks :)
#3
OK, cool, great info which is what I need, can you give me all four notices so I can easily see where the issue exists for this (looks like a 5.4 issue).
#4
It's the same error messages repeated four times over
Notice: Array to string conversion in at_get_plugins() (line 38 of C:\wamp\www\active-local-projects\siv\sites\all\themes\adaptivetheme\at_core\inc\plugins.inc).#5
Darn it, I was hoping for something more... this is hard error to track down :/
#6
Bump! I have exactly the same issue. Same theme - AT Panels Everywhere. I began getting errors and now my node template is not working :( I suspect that's something to do with custom panel layouts. What I did was duplicating a well working layout in a second directory, and then my node layout template stopped working. I could get the correctly themed panel display inside theme's node content area, but it won't replace my whole page template.
#7
I had the same problem, but only when the cache was cleared. I have not gone deep into this, but for me it went away when I took away
plugins[panels][layouts] = templates/panelsfrom the info file. templates/panels did not have anything inside it.Hope it helps.
#8
Same error for me : Notice: Array to string conversion in at_get_plugins() (line 38 of root\sites\all\themes\adaptivetheme\at_core\inc\plugins.inc) appears 4 times.
I didn't found any plugins[panels][layouts] = templates/panels in the info file of the subtheme or core theme. I'm using the at_panelseverywhere theme.
#9
I had everything up and running fine, but started getting this error when I installed "@font-your-face". Hopefully, that helps narrow down the cause.
#10
I am also getting exactly the same notice. As I looked into the plugins.inc file on the line 40:
array_unique($plugins_list);The notice is coming from the php function
array_unique, which is according to php documentation not suitable for multidimansional arrays.I have commented out this line and the notice is gone away.
#11
Same for me. Commenting it out removes the errors.