Notifications
Clear all

[Closed] Profile page critical error

5 Posts
2 Users
1 Reactions
499 Views
Posts: 9
Topic starter
(@merkwert)
Active Member
Joined: 2 years ago

Hi,

I hope you can help me. Currently the profile page is devastated and I get an error message at the bottom of it. I truned on debugging and got the following entries regarding wpforo in the debug log:

[16-Nov-2022 08:23:22 UTC] PHP Fatal error: Uncaught Error: Call to undefined method wpforo\classes\Permissions::usergroup_can() in /var/www/vhosts/solidago-bund.de/httpdocs/wp-content/themes/Solidago_2022/wpforo/profile-home.php:20
Stack trace:
#0 /var/www/vhosts/solidago-bund.de/httpdocs/wp-content/plugins/wpforo/classes/Template.php(277): require()
#1 [internal function]: wpforo\classes\Template->wpforo\classes\{closure}()
#2 /var/www/vhosts/solidago-bund.de/httpdocs/wp-content/plugins/wpforo/classes/Template.php(628): call_user_func()
#3 /var/www/vhosts/solidago-bund.de/httpdocs/wp-content/plugins/wpforo/classes/Template.php(719): wpforo\classes\Template->show_template()
#4 /var/www/vhosts/solidago-bund.de/httpdocs/wp-content/plugins/wpforo/includes/functions-template.php(2005): wpforo\classes\Template->member_template()
#5 /var/www/vhosts/solidago-bund.de/httpdocs/wp-content/plugins/wpforo/themes/2022/profile.php(80): wpforo_member_template()
#6 /var/www/vhosts/solidago-bund.de/httpdocs/wp-content/plugins/wpforo/classes/Template.php(244): require('...')
#7 [internal function]: wpforo\classes\Template->wpforo\classes\{closure}()
#8 /var/www/vhosts/solidago-bund.de/httpdocs/wp-content/plugins/wpforo/classes/Template.php(628): call_user_func()
#9 /var/www/vhosts/solidago-bund.de/httpdocs/wp-content/plugins/wpforo/includes/functions-template.php(2047): wpforo\classes\Template->show_template()
#10 /var/www/vhosts/solidago-bund.de/httpdocs/wp-content/plugins/wpforo/themes/2022/index.php(24): wpforo_template()
#11 /var/www/vhosts/solidago-bund.de/httpdocs/wp-content/plugins/wpforo/includes/hooks.php(227): include('...')
#12 /var/www/vhosts/solidago-bund.de/httpdocs/wp-includes/shortcodes.php(355): wpforo\wpforo->{closure}()
#13 [internal function]: do_shortcode_tag()

I also attach a screenshot of the profile page in the current state. You see: It is a mess.

I appreciate any hint.

Thanks and best regards,

Meike

4 Replies
Chris
Posts: 3649
(@chris)
Famed Member
Joined: 3 years ago

Hi @merkwert,

You have an old customized wpForo template files in your current active WordPress theme,  please remove the wpforo folder from the theme directory /wp-content/themes/Solidago_2022/wpforo/

Posts: 9
Topic starter
(@merkwert)
Active Member
Joined: 2 years ago

That solved the problem thanks a lot - you are a genius 😀.

Posts: 9
Topic starter
(@merkwert)
Active Member
Joined: 2 years ago

Just another question: Can I customize the template file? I would like to reduce the information given.

1 Reply
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3649

@merkwert,

Just remember what you have done that if you get any issue, related to your customization you could fix them.

If you're going to hide some information from the profile page, you can use CSS for that, and insert the CSS in wpForo Custom CSS Code field.