I installed the Trip Search module really just to see what it does and when I go the 'Advanced Search' I get the following errors.
warning: Invalid argument supplied for foreach() in /home/site/public_html/drupal/includes/tablesort.inc on line 160.
warning: Invalid argument supplied for foreach() in /home/site/public_html/drupal/includes/tablesort.inc on line 198.
warning: Invalid argument supplied for foreach() in /home/site/public_html/drupal/includes/theme.inc on line 639.
When I perform an actual search it produces what seems to be a nice result set
tablesort.inc line 160 follows:
foreach ($headers as $header) {
this line is in the function: tablesort_get_order($headers)
tablesort.inc line 198 follows:
foreach ($headers as $header) {
this line is in the function: tablesort_get_sort($headers)
theme.inc line 639 follows:
foreach ($header as $cell) {
this line is in the function: theme_table($header, $rows, $attributes = NULL)
I am guessing it is a problem with $header/$headers???? I tried several searches on the Drupal Site to see if anyone else has encountered this problem. I am very new to Drupal (and am very impressed).
Everything to my best knowledge is 4.6.x My host is opensourcehost.com, php version is 4.3.11 database is MySQL version 4.0.25-standard
Can anyone help, I would really appreciate it.
Comments
same here
I have these same errors on the advanced search page as well. Would like some help here as well :).
Also, on the admin page for this Trip Search, it gives you the option to take away the "Categories" and "User" from the advanced search page. That doesn't work for me...though I am curious if it will work after these errors are fixed.
Help someone! :)
Help someone! :)
Same topic at other node
Seems this same topic is being talked about at http://drupal.org/node/26226 , which is a bug report, with a solution to the problem. Thanks.