Log in

View Full Version : recieving error on search pages


DoB Rhapsody
10-05-2008, 03:46 PM
Hi everyone,

I have a little issue. After making a few changes to my forum, i'm now receiving an error on all search pages.

Warning: Invalid argument supplied for foreach() in [path]/search.php on line 3070

Warning: implode() [function.implode]: Invalid arguments passed in [path]/search.php on line 3074

Changes made:

Removed 6 forums with about a total of 4000+ topics.
disabled rss poster that posted in those forums.
removed a plugin that excluded those forums from today's posts.
made use of the $includephp on a vba page.

Hopefully this is enough info to help you help me :)
The error is occurring at the top of the page and does not interfere with search queries, it just needs to be resolved.

Dismounted
10-06-2008, 05:56 AM
If you replace this file with the vBulletin default one - does it still happen?

DoB Rhapsody
10-06-2008, 11:33 PM
Yes. I'm sure this had something to do with what i changed up until this error appeared.

Dismounted
10-07-2008, 05:08 AM
Did you change the database in any way?

DoB Rhapsody
10-07-2008, 01:27 PM
Well, technically i did. I removed about 6 forums at once, totaling 4000+ topics. I also removed a simple plugin that excluded those 6 forums from showing up on today's posts. Since that does modify the search request, i'm wondering if that had something to do with it?

Lynne
10-07-2008, 02:42 PM
You might want to see if there is an extra .xml file leftover in the /includes/xml folder from the mod you disabled.

DoB Rhapsody
10-08-2008, 03:58 AM
You might want to see if there is an extra .xml file leftover in the /includes/xml folder from the mod you disabled.
no xml. It was just one line of code as a plugin.

EDIT: I've also tried disabling the hook system to see if that would work. No luck.. :(
People use the today's post and new post feature a lot. I hope i can get this fixed soon.

Lynne
10-08-2008, 04:19 PM
Have you already tried replacing the search.php file with a totally new default one that you download from vb.com?

DoB Rhapsody
10-08-2008, 05:36 PM
Have you already tried replacing the search.php file with a totally new default one that you download from vb.com?
Yup.