t3nt3tion
03-28-2010, 01:18 AM
I`m trying to bridge a vBulletin-Wordpress system, and I found this bridge ( actually I had an older one from the same guy, he seems to have updated it ).
Source : http://www.phpclasses.org/browse/package/5740.html
Issue is, whenever I include the class in my wordpress plugin, I get these errors :
Warning: array_keys() [function.array-keys (http://amlp.irepos.net/members/function.array-keys)]: The first argument should be an array in [path]/includes/functions.php on line 4271
Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php4271
Fatal error: Call to a member function query_read_slave() on a non-object in /home/xxxx/public_html/forums/includes/functions.php on line 3233 on line
After ALOT of googling, forum searching, I have yet to find a good solution.
Solutions found and tried include uploading tools.php and redoing the forum and usergroup cache, and disabling the hooks. None worked.
--------------- Added 1269747488 at 1269747488 ---------------
After modifications, it`s narrowed down to :
Fatal error: Call to a member function query_first_slave() on a non-object in /home/xxxxx/public_html/forums/includes/functions.php on line 1380
Source : http://www.phpclasses.org/browse/package/5740.html
Issue is, whenever I include the class in my wordpress plugin, I get these errors :
Warning: array_keys() [function.array-keys (http://amlp.irepos.net/members/function.array-keys)]: The first argument should be an array in [path]/includes/functions.php on line 4271
Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php4271
Fatal error: Call to a member function query_read_slave() on a non-object in /home/xxxx/public_html/forums/includes/functions.php on line 3233 on line
After ALOT of googling, forum searching, I have yet to find a good solution.
Solutions found and tried include uploading tools.php and redoing the forum and usergroup cache, and disabling the hooks. None worked.
--------------- Added 1269747488 at 1269747488 ---------------
After modifications, it`s narrowed down to :
Fatal error: Call to a member function query_first_slave() on a non-object in /home/xxxxx/public_html/forums/includes/functions.php on line 1380