Log in

View Full Version : search error when using $includedphp


DoB Rhapsody
10-28-2008, 02:50 AM
I'm using $includedphp in a hook to display a php page on vbadvanced. When the plugin is enabled i receive this 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

Dismounted
10-28-2008, 04:56 AM
What is in the plugin?

DoB Rhapsody
10-28-2008, 01:43 PM
ob_start();
include('gamingfeed.php');
$includedphp = ob_get_contents();
ob_end_clean();

I'm also noticing that disabling the plugin doesn't immediately get rid of the problem, sometimes it stays for a minute, sometimes just 5 seconds. This is also the same way when enabling it, sometimes after enabling the plugin, it doesn't show up until a minute or two.. The error also tends to alternate between general search pages and "new posts". Very confusing, very frustrating.

--------------- Added 1225243835 at 1225243835 ---------------

Could this somehow be caused by a file or files within my forums root that are a part of a third parting software that are calling a variable that has already been set by VB?

Dismounted
10-29-2008, 05:11 AM
Could this somehow be caused by a file or files within my forums root that are a part of a third parting software that are calling a variable that has already been set by VB?
That's what I'm getting at, what is in gamingfeed.php?