Notifications
Clear all

[Solved] Critical error after enabling wpForo plugin

8 Posts
3 Users
0 Reactions
194 Views
Posts: 9
Topic starter
(@aspie)
Active Member
Joined: 1 month ago

Hi. I'm looking for help with a problem that causes a critical error on my site. First of all, I'll say that this is my first site and I'm more of a content creator, so if any of you would like to help me, I'd appreciate some step-by-step instructions. Thanks in advance šŸ™‚

OK, to the point: I installed a forum plugin yesterday and made some simple changes to the settings: kolors, recaptcha, etc. I translated some phrases, because the site is in Polish, and I installed WP Mail SMTP. Today, a critical problem appeared on my site, but it disappears and the site works correctly as soon as I disable the wpForo plugin. It's probably not a conflict with the WP Mail SMTP plugin, because the site doesn't work when I disable WP Mail and enable wpForo.
I created the page with the forum using Elementor, and I read on this forum that this could be the cause of the conflict, so I deleted it, added a new one, and pasted the shortcode there.

I think that's all and I'd be grateful for help in diagnosing the problem.

Best regards
Joanna

7 Replies
Sofy
Posts: 5202
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi Joanna,

Please find the error logs and share it here. You can enableĀ debug modeĀ if there is no log files in file system.

Posts: 9
Topic starter
(@aspie)
Active Member
Joined: 1 month ago

Hi,
Thanks for your reply. There were no issue in the error logs, so I activated debug mode. I'm attaching the result.

Can you suggest what I should fix?

BTW, should I reset ( 'WP_DEBUG', true ) to ( 'WP_DEBUG', false )?

Posts: 9
Topic starter
(@aspie)
Active Member
Joined: 1 month ago

Hi,

I'm not very patient, so I tried to understand the debug.log file myself. Line 1271 contains $popup_html = sprintf() and "wpforo_phrase( 'Please %s or %s', false ),". I translated this phrase to Polish and when I changed it back to English, my site started working. Is this the only error I should fix?

As I mentioned, my site is in Polish and I want the forum to be in Polish as well (it's made for a small community, where there are a lot of older people who don't know English). Can you give me a hint on which phrases I shouldn't translate?

ps. BTW, should I reset ( 'WP_DEBUG', true ) to ( 'WP_DEBUG', false )? - I changed it to "false".

4 Replies
Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10600

@aspie,

You should never do any changes directly in the plugin file. Here are the correct ways to translate wpForo phrases: https://wpforo.com/community/faq/how-to-translate/

The ( 'WP_DEBUG', true ) to ( 'WP_DEBUG', false )?Ā is not necessary if you don't have other issues.

Ā 

(@aspie)
Joined: 1 month ago

Active Member
Posts: 9

@robertĀ 

Hi,

yes, I know I shouldn't make changes in the plugin files and I didn't. I translated according to the instructions on this page:
https://wpforo.com/docs/root/translation/quick-translation-phrases/

The error appeared after translating the phrase into Polish: 'Please %s or %s'

Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10600

@aspie,

I hope you've not changed the %s parts, these are variables and should not be touched.

(@aspie)
Joined: 1 month ago

Active Member
Posts: 9

@robertĀ 

Now I know šŸ˜‰
Thanks for your help!