I've been getting these errors in watchdog since installing the theme.
* warning: Illegal offset type in isset or empty in /DEV.org/includes/common.inc on line 2190.
* warning: Illegal offset type in /DEV.org/includes/common.inc on line 2191.
* warning: Illegal offset type in /DEV.org/includes/common.inc on line 2203.
* warning: Illegal offset type in isset or empty in /DEV.org/includes/common.inc on line 2190.
* warning: Illegal offset type in /DEV.org/includes/common.inc on line 2191.
* warning: Illegal offset type in /DEV.org/includes/common.inc on line 2203.
* warning: Illegal offset type in isset or empty in /DEV.org/includes/common.inc on line 2190.
* warning: Illegal offset type in /DEV.org/includes/common.inc on line 2191.
* warning: Illegal offset type in /DEV.org/includes/common.inc on line 2203.
Comments
Comment #1
gmak commentedI confirm, I'm seeing the same errors. Using Pressflow 6.19.
Comment #2
ddorian commentedi have these errors:
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in D:\xampp\htdocs\randomsite\sites\all\themes\tundra\sooper_tundra\theme-settings-defaults.php on line 21.
* warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\randomsite\includes\form.inc on line 1211.
* warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\randomsite\includes\form.inc on line 1211.
Comment #3
rowbotony commentedConfirm I am also getting these errors:
Comment #4
rowbotony commentedHi, well I'm just hacking around and have no idea why these errors occur, or if they are even important? BUT I was able to hide them by changing my Drupal settings. Go to: admin/settings/error-reporting and change "Error Reporting:" from "write errors to log and screen" to "write errors to the log". There you have it - the errors are still occurring but now they are not seen.
Comment #5
bitradiator commentedThe idea behind posting these messages here, as opposed to the themes forum, is to inform the developer of "issues" with his project. This theme is still in beta and I don't think it is recommended for a production site yet.
Comment #6
gorsti commentedSame here also - looks a nicely built theme though, look forward to seeing it come out of beta! Other themes in the collection look good too.
warning: Illegal offset type in isset or empty in /var/www/drupal/includes/common.inc on line 2190.
warning: Illegal offset type in /var/www/drupal/includes/common.inc on line 2191.
warning: Illegal offset type in /var/www/drupal/includes/common.inc on line 2203.
warning: Illegal offset type in isset or empty in /var/www/drupal/includes/common.inc on line 2190.
warning: Illegal offset type in /var/www/drupal/includes/common.inc on line 2191.
warning: Illegal offset type in /var/www/drupal/includes/common.inc on line 2203.
warning: Illegal offset type in isset or empty in /var/www/drupal/includes/common.inc on line 2190.
warning: Illegal offset type in /var/www/drupal/includes/common.inc on line 2191.
warning: Illegal offset type in /var/www/drupal/includes/common.inc on line 2203.
Comment #7
jurriaanroelofs commentedOk I have a fix for the error in theme-settings-defaults.php. This was a minor issue since it only happens once after installing but this is the fix:
At line 20 in theme-settings-defaults.php:
// Merge the saved variables and their default values
$settings = array_merge($defaults, $saved_settings);
Change into this (add a line):
// Merge the saved variables and their default values
if (!$saved_settings) { $saved_settings = array(); }
$settings = array_merge($defaults, $saved_settings);
I'm still in the dark about the other errors, I cant reproduce them
Comment #8
jurriaanroelofs commentedI need your help to fix these errors. This is the code your offset errors point to:
if (isset($type) && isset($scope) && !isset($javascript[$scope][$type])) {
$javascript[$scope][$type] = array();
}
and
// If cache is FALSE, don't preprocess the JS file.
$javascript[$scope][$type][$data] = array('cache' => $cache, 'defer' => $defer, 'preprocess' => (!$cache ? FALSE : $preprocess));
so it has to do with loading some javascript files, or maybe settings.
Please tell me:
-which features did you download
-make sure these features are enabled in the theme settings page
-copy the list of javascript files and settings that are loaded from the HMTL of the page that gives you the error. Just click view-source in your browser and copy this part:
http://drupalbin.com/16757
Hopefully I will spot which features are missing here and find the problematic code.
Comment #9
jurriaanroelofs commentedComment #10
nicktr commentedI too had the error messages like:
warning: Illegal offset type in /hermes/web09/b2466/test/lfa5/includes/common.inc on line 2192.
I have gone through feature by feature to see which one is causing the problem. It appears to the fontKit.
The dropdown kit does not cause the errors.
The background kit does not cause the errors.
The slideshow kit does not cause the errors.
The linkicons kit does not cause the errors
I didn't try enabling any of the features, just simply put in the features directory. The fontkit is the only one that caused the error messages to show up. Full error message shown below.
Hope that helps.
I'm on Drupal 6.20, fresh install,
----------------------------------------------
Error messages after adding FontKit to the features to directory
----------------------------------------------
warning: Illegal offset type in isset or empty in /hermes/web09/b2466/test/lfa5/includes/common.inc on line 2191.
warning: Illegal offset type in /hermes/web09/b2466/test/lfa5/includes/common.inc on line 2192.
warning: Illegal offset type in /hermes/web09/b2466/test/lfa5/includes/common.inc on line 2204.
warning: Illegal offset type in isset or empty in /hermes/web09/b2466/test/lfa5/includes/common.inc on line 2191.
warning: Illegal offset type in /hermes/web09/b2466/test/lfa5/includes/common.inc on line 2192.
warning: Illegal offset type in /hermes/web09/b2466/test/lfa5/includes/common.inc on line 2204.
warning: Illegal offset type in isset or empty in /hermes/web09/b2466/test/lfa5/includes/common.inc on line 2191.
warning: Illegal offset type in /hermes/web09/b2466/test/lfa5/includes/common.inc on line 2192.
warning: Illegal offset type in /hermes/web09/b2466/test/lfa5/includes/common.inc on line 2204.
Comment #11
zandros commentedsame here
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/site_name/www/www/themes/tundra/sooper_tundra/theme-settings-defaults.php on line 21.
* warning: Illegal offset type in isset or empty in /home/site_name/www/www/includes/common.inc on line 2190.
* warning: Illegal offset type in /home/site_name/www/www/includes/common.inc on line 2191.
* warning: Illegal offset type in /home/site_name/www/www/includes/common.inc on line 2203.
* warning: Illegal offset type in isset or empty in /home/site_name/www/www/includes/common.inc on line 2190.
* warning: Illegal offset type in /home/site_name/www/www/includes/common.inc on line 2191.
* warning: Illegal offset type in /home/site_name/www/www/includes/common.inc on line 2203.
* warning: Illegal offset type in isset or empty in /home/site_name/www/www/includes/common.inc on line 2190.
* warning: Illegal offset type in /home/site_name/www/www/includes/common.inc on line 2191.
* warning: Illegal offset type in /home/site_name/www/www/includes/common.inc on line 2203.
* warning: Invalid argument supplied for foreach() in /home/site_name/www/www/includes/form.inc on line 1211.
* warning: Invalid argument supplied for foreach() in /home/site_name/www/www/includes/form.inc on line 1211.
* warning: Invalid argument supplied for foreach() in /home/site_name/www/www/includes/form.inc on line 1434.
Comment #12
jurriaanroelofs commentedPlease update your Tundra installations to version Beta 2. I got a bunch of cvs errors before I could tag the beta so also please let me know if you spot a problem with this, I really dont get along well with CVS myself..
I put this important message on the project page, please make sure you update the features along with the Tundra theme itself:
"Make sure you download the zip files for the right version of the Tundra theme, If you update your Tundra theme to a newer version, you must also download the new zips from here. If you hover the zip links you can see they point to a specific version, this version should always match the version of the Tundra theme."
p.s. the CVS server needs some time from now before the beta2 package will show up
Comment #13
jurriaanroelofs commented