Notifications
Clear all

wpForo 1.x.x [Closed] [Solved] Fatal error

3 Posts
2 Users
4 Reactions
3,174 Views
Posts: 2
 dom
Topic starter
(@dom)
Active Member
Joined: 7 years ago

Hi 

After updating to 1.4.3 everythig dissapeared... There's a fatal error:

Fatal error: Uncaught Error: Call to a member function forum_can() on null in /home/users/my_user_name/public_html/my_domain_name/wp-content/themes/foodiepro-2.1.8/wpforo/layouts/2/forum.php:24 Stack trace: #0 /home/users/my_user_name/public_html/my_domain_name/wp-content/plugins/wpforo/wpf-themes/classic/index.php(98): include() #1 /home/users/my_user_name/public_html/my_domain_name/wp-content/plugins/wpforo/wpf-includes/wpf-hooks.php(116): include_once('/home/users/dom...') #2 /home/users/my_user_name/public_html/my_domain_name/wp-content/plugins/wpforo/wpf-includes/wpf-hooks.php(152): wpforo_init_template() #3 /home/users/my_user_name/public_html/my_domain_name/wp-includes/shortcodes.php(319): wpforo_load('', '', 'wpforo') #4 [internal function]: do_shortcode_tag(Array) #5 /home/users/my_user_name/public_html/my_domain_name/wp-includes/shortcodes.php(197): preg_replace_callback('/\\[(\\[?)(wpforo...', 'do_shortcode_ta...', '[wpforo]\n<h6 cl...') #6 /home/users/my_user_name/public_html/my_domain_name/wp-includes/class-wp-hook.php(286 in /home/users/my_user_name/public_html/my_domain_name/wp-content/themes/foodiepro-2.1.8/wpforo/layouts/2/forum.php on line 24

 

Please tell me how to fix this, all forum is gone... 

Thanks in advance

Dom

2 Replies
Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

Please remove the copy of wpForo template files from your active theme wp-content/themes/foodiepro-2.1.8/wpforo/ just backup these customized files and delete the /wpforo/ folder in wp-content/themes/foodiepro-2.1.8/ directory. wpForo 1.4.3 doesn't support old template files of wpForo. It's already noted in Update Notes.

Posts: 2
 dom
Topic starter
(@dom)
Active Member
Joined: 7 years ago

Thanks for quick RE, it worked 🙂 You're amazing, wpforo support rocks!