13 replies [Last post]
rbjarnason's picture
Offline
Joined: 02/06/2009
Juice: 12
Was this information Helpful?

I have come across an error that has totally stumped me. I can not access the store page or store/settings page. It generates an error:
Fatal error: Unsupported operand types in /modules/system/system.module on line 626
However I can access the sub directories of the pages such as store/settings/cart or store/settings/catalog
has anyone encountered this before? Or have any thoughts to put me on the right direction?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: fatal error on store/settings page

I'm not getting this error on the 2.x Livetest... what version are you running?

rbjarnason's picture
Offline
Joined: 02/06/2009
Juice: 12
I am using Beta 3 right now,

I am using Beta 3 right now, I had upgraded to beta 4 but when I noticed this error I rolled back. However, the error is still there. Only other module update I had done was imageCache.
Like I said it's a weird error, because I can access everything just not the settings root.
Any thoughts?
here is the code that is causing errors
$item += db_fetch_array(db_query("SELECT mlid, menu_name FROM {menu_links} ml WHERE ml.router_path = '%s' AND module = 'system'", $item['path']));

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: I am using Beta 3 right now,

Honestly, not really sure... you've emptied your menu caches and stuff?

rbjarnason's picture
Offline
Joined: 02/06/2009
Juice: 12
Re: Re: I am using Beta 3 right now,

Ya I tried to empty the caches. No luck.
What is so weird is these are the only pages that cause the error
admin/store/settings
admin/store/reports
admin/store

Every other page works fine. Are there anything common to these pages that I am missing?

victoria_b's picture
Offline
Joined: 03/28/2009
Juice: 30
Upgraded to Drupal 6.12 = Fatal error on store/settings page

Just upgraded to Drupal 6.12 from 6.10 and when I go to admin/store I get the following:

Fatal error: Unsupported operand types in F:\wamp\www\websitename\modules\system\system.module on line 626

Can access all admin/store child pages - just admin store that is crashing. Retried installing 6.12 but with just core Ubercart modules installed - same problem.

Rolled my website back to 6.10 all works fine.

Anyone else had this problem?

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Upgraded to Drupal 6.12 = Fatal error on store/settings page

I don't have that problem, but it might be something wrong with the way menu links have been saved on your site. The easiest thing to try is to go to admin/build/modules and see if that resets the menu to the way it's supposed to be. If not, try enabling the Devel module's block and click the "Rebuild menus" link.

victoria_b's picture
Offline
Joined: 03/28/2009
Juice: 30
Hi Lyle, Thanks for the help

Hi Lyle,

Thanks for the help but it was to no avail. I backup my site daily so will just roll back to a previous build.

manatwo's picture
Offline
Joined: 02/19/2008
Juice: 235
Re: Hi Lyle, Thanks for the help

Bump. Same thing just happened to me.

junipllc's picture
Offline
Joined: 07/31/2009
Juice: 2
Same exact thing

Running 6.13 and the latest and greatest of the rest. I tried to rebuild the menus, cleared out caches, reinstalled the entire uc_ line using the Devel module...no avail. Did anybody figure this out?

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Same exact thing

Are you running any other modules that might manipulate the way menus are built? I can't reproduce the issue either so I'm guessing it's not actually caused by Ubercart .. not the core, anyway.

--
Help directly fund development: Donate via PayPal!

manatwo's picture
Offline
Joined: 02/19/2008
Juice: 235
Re: Re: Same exact thing

If I had to guess, I'd say it is the Devel module.

futurist's picture
Offline
Joined: 08/08/2007
Juice: 114
Re: Same exact thing

I'm upgrading from D5.7 and UC5.x-1.7 to D6.13 and UC6.x-2.0rc3. I ran into this fatal error with the Store admin link too. I cleared the cache_menu table, disabled and re-enabled the menu module, disabled and re-enabled the core uc modules. Error gone Eye-wink

gh0st25's picture
Offline
Joined: 06/09/2009
Juice: 40
Re: Re: Same exact thing

same thing just happened to me.