Closed (fixed)
Project:
Amazon Store
Version:
6.x-2.1-rc2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2010 at 21:14 UTC
Updated:
17 Dec 2010 at 06:50 UTC
No problem to display any amazon item detail page (path like example.com/amazon_store/item/[any abis]), which themed by amazon_item_detail.tpl.php. But EVERY TIME I switch to another web page from any amazon item detail page, a warning message shows as followings:
warning: Illegal offset type in isset or empty in .../drupal/includes/common.inc on line 916.
That means no warning shows up if I don't browser to amazon_item_detail pages.
Anything wrong with the code from amazon_item_detail.tpl.php?
Comments
Comment #1
rfayHmm... Since it happens on the *next* page, it means that it was stuck in teh session before (we assume).
Since this hasn't been reported before, it may be interaction with another mdoule. One thing you could do to help sort that out is to disable modules and see when it goes away. For example, disable half the modules that can be disabled, test. If you still see it, re-enable those and disable the other half. If it goes away, start to cut that set in half. Etc. Until you find what module the interaction is with.
Thanks,
-Randy
Comment #2
astra commentedI made a test first for themes and found the problem happens with the theme Zeropoint 6.x-1.10 I'm using. If switch to other themes, such as Garland and Bluemarine, no warning messages display on the webpage.
Any solution to fix it?
Thanks!
Comment #3
rfayExcellent work. This would have been terribly hard to solve without your effort.
It's probably an issue with the theme.
The way to figure it out is to put a debugging statement at the offending line with a debug_backtrace() and figure out what is going on. (Or use a debugger)
Comment #4
astra commentedI posted this issue to the theme project Zero Point. Hope it can be fixed.
Comment #5
rfayRelated: #861230: Warning: Illegal offset type in isset or empty
Comment #6
rfayOK, unless otherwise noted, I'm going to call this a problem with zeropoint and mark this one a dup.
Comment #7
nmridul commentedI don't think it is a zeropoint theme issue as I have this issue with the following themes.
Administrative theme - Garland 6.19
Site theme - Acquia Marina 6.x-2.0
I could also note that the error occurs when I make any change to the panel and save. In this case I removed the "amazon review field" from the contents and saved.
Also the error went away once I go to admin/build/themes and save the configuration (no need to make any change to the themes, just save.).
Following are modules and other details I have on my system.
Drupal core 6.19
Modules -
Amazon Module 6.x-1.1
Amazon Store 6.x-2.1-rc2
Boost 6.x-1.18
Cache Router 6.x-1.0-rc1
Chaos tool suite 6.x-1.7
Content Construction Kit (CCK) 6.x-2.8
Google Analytics 6.x-2.3
Panels 6.x-3.7
Skinr 6.x-1.5
Views 6.x-2.11
Comment #8
rfay@nmridul, it looks to me like you're saying that after you saved your theme settings this problem went away? I suspect it was not related to Amazon Store.
Feel free to reopen this if you have more information. I really like to get these solved.