Title: [plugin: WordPress-vBulletin Threads] VB Path errors?
Last modified: August 19, 2016

---

# [plugin: WordPress-vBulletin Threads] VB Path errors?

 *  [Damien](https://wordpress.org/support/users/takster/)
 * (@takster)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-vbulletin-threads-vb-path-errors/)
 * Trying to get WordPress-vBulletin Threads working but when I enter the path in
   the options for the forum I get errors. Using latest wordpress + 3.8.6 vbulletin.
 * using: /home/forum/public_html/forum
 *     ```
       Warning: array_keys() expects parameter 1 to be array, null given in [path]/includes/functions.php on line 4243
       Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 4243
       Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/global.php(355) : eval()'d code on line 28
       Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/global.php(355) : eval()'d code on line 31
       Fatal error: Call to a member function query_read_slave() on a non-object in /home/forum/public_html/forum/includes/functions.php on line 3205
       ```
   
 * I get chdir errors using just **forum/** or similar path.
 * Offending code?
 * > if(!$wpvbt_fp = get_option(‘wpvbt_forum_path’))
   >  return; $cwd = getcwd(); chdir(
   > $wpvbt_fp); require_once(‘./global.php’); require_once(‘./includes/functions_newpost.
   > php’); require_once(‘./includes/class_dm.php’); require_once(‘./includes/class_dm_threadpost.
   > php’); require_once(‘./includes/functions_databuild.php’); chdir($cwd);
 * Any help here would be awesome.

Viewing 1 replies (of 1 total)

 *  [gamingforest](https://wordpress.org/support/users/gamingforest/)
 * (@gamingforest)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpress-vbulletin-threads-vb-path-errors/#post-1637975)
 * Your better off just using the RSS feature on vbulletin. Thats how I did it on
   my site and I works great.

Viewing 1 replies (of 1 total)

The topic ‘[plugin: WordPress-vBulletin Threads] VB Path errors?’ is closed to new
replies.

## Tags

 * [vbulletin](https://wordpress.org/support/topic-tag/vbulletin/)

 * 1 reply
 * 2 participants
 * Last reply from: [gamingforest](https://wordpress.org/support/users/gamingforest/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpress-vbulletin-threads-vb-path-errors/#post-1637975)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
