Jump to:
| Project: | niGraphic Studio Theme |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I get a periodic warning on my site www.screenprocess.com
"warning: array_map() [function.array-map]: Argument #2 should be an array in /home/screenpr/public_html/modules/system/system.module on line 975.
warning: array_keys() [function.array-keys]: The first argument should be an array in /home/screenpr/public_html/includes/theme.inc on line 1728.
warning: Invalid argument supplied for foreach() in /home/screenpr/public_html/includes/theme.inc on line 1728. "
On the site I check the admin/themes and see that the 007 niGraphic theme is not enabled
enabling the theme and saving the configuration makes the warning go away
I use a different theme for admin, and when the site has the error I am able to use the other theme which makes me think it may be related to this theme, it may not ! Any help would be great.
Comments
#1
nobody ?
#2
May be related to this http://drupal.org/node/305653
#3
The other issue with the update.php is not related to this (confirmed by one of the coders see #84 in http://drupal.org/node/305653 ). I believe that there is something in the code that cron.php is doing that disables this theme, because it doesnt disable the core theme.
The whole message I get is
"
warning: array_map() [function.array-map]: Argument #2 should be an array in /home/screenpr/public_html/modules/system/system.module on line 975.
warning: array_keys() [function.array-keys]: The first argument should be an array in /home/screenpr/public_html/includes/theme.inc on line 1728.
warning: Invalid argument supplied for foreach() in /home/screenpr/public_html/includes/theme.inc on line 1728.
"
I simply have to go and enable the them and save and then the site is up, but this error doesnt happen every time cron runs just some times....
#4
I am following another issue that appears closer to the problem at
http://drupal.org/node/344625
#5
I have updated to 6.9 and have been following the the forums. This theme is the default on my site. I still am getting the warning that I showed in the earlier post. I have this theme stored under the sites/ directory
I can not pin down what causes this, it appears fairly randomly, at this point I have to check the site every morning and re-enable the niGraphic theme if the error is there. Some times this occurs mid day, which rules out the cron job as its set to run at night. I think there is something inside the theme that is causing this as all the other support issues I was following seemed to be cleaned up by the 6.9 release.
#6
#7
I reopened this. It appears that update.php has been fixed, and I have installed lastest versions. Now the only time that the Theme is disabled is when cron and update.php run on schedule( not every time). I see this through the error logs. Does this theme cache differently then the main themes? and could this be the problem.
If no one else using this theme has this problem, then it must be someplace else in my setup.
Please feel free to close this if no one responds that they have similar problems