Hi there,
I'm trying to migrate bbPress forums to WPForo.
When I try to migrate I get the error below.
Can you help me resolve this?
Fatal error: Uncaught Error: Class "go2wpforo\includes\Board" not found
in /www/sitename/public/wp-content/plugins/go2wpforo-master/boards/bbpress.php on line 11
Call stack:
require_once()
wp-content/plugins/go2wpforo-master/Main.php:1282go2wpforo\Main::do_actions()
wp-includes/class-wp-hook.php:310WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:334WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-content/plugins/wpforo/wpforo.php:515wpforo\wpforo::init()
wp-includes/class-wp-hook.php:310WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:334WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-settings.php:632require_once()
wp-config.php:57require_once()
wp-load.php:50require_once()
wp-admin/admin.php:34
I tried using version 3.0.1, and this time it gets further to actually creating the forum, but when it tries to migrate topics I get this error:
Fatal error: Uncaught Error: array_merge(): Argument #2 must be of type array, bool given
in /www/sitename/public/wp-content/plugins/go2wpforo/boards/bbpress.php on line 118
Call stack:
array_merge()
wp-content/plugins/go2wpforo/boards/bbpress.php:118go2wpforo\boards\bbpress::get_sticky_topicids()
wp-content/plugins/go2wpforo/Main.php:596go2wpforo\Main::do_topics()
wp-content/plugins/go2wpforo/Main.php:1308go2wpforo\Main::do_actions()
wp-includes/class-wp-hook.php:310WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:334WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-content/plugins/wpforo/wpforo.php:515wpforo\wpforo::init()
wp-includes/class-wp-hook.php:310WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:334WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-settings.php:632require_once()
wp-config.php:57require_once()
wp-load.php:50require_once()
wp-admin/admin.php:34
I deleted the following code from the public function get_sticky_topicids() { function in bbpress.php and it's now successfully importing topics.
Process is still underway, but as far as I can tell the only thing I'll miss out on is sticky topics by removing this code.
$sql = "SELECT meta_value AS srlzs FROM " . $this->db->postmeta . " WHERE meta_key = '_bbp_sticky_topics'"; if( $srlzs = $this->db->get_col( $sql ) ) { foreach( $srlzs as $srlz ) { $sticky_topicids = array_merge( $sticky_topicids, unserialize( $srlz ) ); } }