Random Errors driving me nuts, should I trash my Drupal install?

Posts: 27
Joined: 01/17/2008

Hello all!

I've been having troubles with my Drupal/UberCart installation.

First off -- I can't access my Search Settings page -- I get a fatal error:
Fatal error: Cannot use string offset as an array in /home/.zhukov/killerjerseys/killerjerseys.com/includes/form.inc on line 680

Apparently I need to use this page to disable Advanced Search, but I can't access it because I'm getting this error.

Also, when I run CRON, I get this error:

Invalid argument supplied for foreach() in /home/.zhukov/killerjerseys/killerjerseys.com/sites/all/modules/ubercart/uc_attribute/uc_attribute.module on line 191.

I also see this in my logs:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 'products') ORDER BY ASC LIMIT 0, 1' at line 1 query: SELECT node.nid, score FROM node node WHERE (.word = 'products') ORDER BY ASC LIMIT 0, 1 in /home/.zhukov/killerjerseys/killerjerseys.com/includes/database.mysql.inc on line 172.

Should I trash my Drupal Install/Database? I'd really like to keep all the settings since I've tweaked the site to fit my needs...

Posts: 65
Joined: 01/23/2008
Bug Finder

I have the same CRON issue

* warning: Invalid argument supplied for foreach() in /webs/amatusalud.es/sites/amatusalud.local.pc/modules/ubercart/uc_attribute/uc_attribute.module on line 191.
* warning: Invalid argument supplied for foreach() in /webs/amatusalud.es/sites/amatusalud.local.pc/modules/ubercart/uc_attribute/uc_attribute.module on line 191.
* warning: Invalid argument supplied for foreach() in /webs/amatusalud.es/sites/amatusalud.local.pc/modules/ubercart/uc_attribute/uc_attribute.module on line 191.
* warning: Invalid argument supplied for foreach() in /webs/amatusalud.es/sites/amatusalud.local.pc/modules/ubercart/uc_attribute/uc_attribute.module on line 191.

Posts: 329
Joined: 08/28/2007
Early adopter... addicted to alphas.Not KulvikTheminator

What versions of Ubercart are you both running? Did you try to update to the latest release?

Posts: 65
Joined: 01/23/2008
Bug Finder

Hi

I fixed the cron issue:

http://www.ubercart.org/forum/bug_reports/2775/fix_uc_attribute_nodeapi

Thanks anyway rich Smiling