Active
Project:
Admin
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2009 at 15:51 UTC
Updated:
24 Mar 2010 at 15:14 UTC
HI,
When I go into Appearance > Configure > Slate, I run across these error messages
warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\Users\picardo-alt\Sites\pressflow\modules\system\system.admin.inc on line 405.
# warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\Users\picardo-alt\Sites\pressflow\modules\system\system.admin.inc on line 444.
# warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\Users\picardo-alt\Sites\pressflow\modules\system\system.admin.inc on line 472.
And there are no configuration options available in the content area. Even when I click "reset defaults" the error messages do not go away.
Comments
Comment #1
redraven commentedI've got a similar error occurring
warning: in_array() [function.in-array]: Wrong datatype for second argument in .../public_html/modules/system/system.admin.inc on line 405.Comment #2
davidwhthomas commentedsame error here:
Comment #3
joshmillersame error here... saw it when I first enabled the module...
Comment #4
drupalfox commentedSame warning after enabling the module.
Comment #5
kiphaas7 commentedSame here after enabling it... Maybe there is something wrong in the .install?
Comment #6
Aerodynamo commentedSubscribing to this... same issues is happening for me.
Also, my "Configuration" menu just decided to disappear, leaving no trace of a menu in Admin. Not sure if this is related.
The lines in questions are...
Line 405:
if ((!$key) || in_array($name, $features)) {Line 444:
if ((!$key) || in_array('logo', $features)) {Line 472:
if ((!$key) || in_array('favicon', $features)) {It is at the stat of each segment. Any idea what it would be doing this?
Hope my info helps.
Comment #7
winnie80 commentedi think it is due to the fact that within slate.info there's no features values what so ever.
i have tried to add this value to slate like for exampel features[] = logo
but still it's not working
any idea guys
my idea is to use this theme also in this path: admin/content/node
to add all nodes also for selecting node types
Comment #8
jrefano commentedi can confirm this bug, same as everyone else.
Comment #9
jrefano commentednoticed version was set to beta2, bug exists in beta3
Comment #10
mason@thecodingdesigner.com commentedI have the bug as well
Comment #11
codycraven commentedI have tracked down the issue everyone experiences when accessing admin/themes/settings/slate with warnings being thrown about a wrong datatype.
My notes are below:
Potential fixes for this would be moving Slate to the themes directory or implementing Slate in a different manner so that it does not appear within the admin/themes/settings page. I do not know if either of these potential fixes are feasible with how Admin module is currently programmed.
Comment #12
codycraven commentedUpdated Issue version to reflect most current version of Admin module as it is affecting the latest release.
Comment #13
translector commentedSubscribing
Comment #14
kevinquillen commentedsubscribe
Comment #15
nquocbao commentedThe same thing happened here. When I flush the cache, the configuration page for stale theme disappear
Comment #16
traviscarden commentedMarked #579474: Warnings in /admin/themes/settings/slate as duplicate.
Comment #17
mmaul commentedsame error here (drupal 6.15, pathfilter 6.x-2.0-beta3). subscribing … and hoping. ;)
Comment #18
kristijan commentedSame here