Closed (fixed)
Project:
Zero Point
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2010 at 07:33 UTC
Updated:
12 May 2014 at 00:25 UTC
Jump to comment: Most recent
Using Zero Point theme with Amazon Store module, EVERY TIME I switch to another web page from any item detail page of Amazon Store, a warning message shows as followings:
warning: Illegal offset type in isset or empty in .../drupal/includes/common.inc on line 916.
I made a test for themes and found the problem happens with the theme Zero Point I'm using. Because if switch to other themes, such as Garland and Bluemarine, the warning message do not show up any more. Both Zero Point 6.x-2.3 and 6.x-10 have the same problem.
I also posted this issue to the project Amazon Store: http://drupal.org/node/859836
Comments
Comment #1
florian commentedThanks. I have no idea at the moment but I will look further to solve that problem. I will follow /node/859836, also.
Comment #2
wolfeworks4u commentedI have the same issue. I have the following themes selected Fusion Core, Garland, ....Drupal 6 Theme (Zen), ...Fusion Theme (selected as default).
I am running a multi-site installation and the error only shows up on one site.
According to the error log it is a php error. The referrer of the error is .../admin/build/themes/select
warning: Illegal offset type in isset or empty in /var/www/.../TRUNK/drupal/includes/common.inc on line 916.
Any ideas?????
Comment #3
ezmoo commentedI have the very same issue with: warning: Illegal offset type in isset or empty in ../drupal-6.22/includes/common.inc on line 915.
Comment #4
ezmoo commentedWhen I remove the regions and features in my theme info file the errors goes away.
Comment #5
ezmoo commentedThe error seems to happen when you define a region in the info file but have not yet added it into your page.tpl.php file.
Comment #6
Snoopy Pfeffer commentedI could fix that problem by adding a little test in /var/www/includes/common.inc, lines 939 - 952.
BEFORE:
// Custom strings work for English too, even if locale module is disabled.
if (isset($custom_strings[$langcode][$string])) {
$string = $custom_strings[$langcode][$string];
}
AFTER:
// Custom strings work for English too, even if locale module is disabled.
if ($custom_strings[$langcode] && isset($custom_strings[$langcode][$string])) {
$string = $custom_strings[$langcode][$string];
}
Comment #7
florian commentedhttps://drupal.org/node/859836