AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Solved] Critical error after enabling wpForo plugin

8 Posts
3 Users
0 Reactions
894 Views
Posts: 9
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@aspie)
Active Member
Joined: 1 year ago
[#62248]

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: 5774
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@aspie)
Active Member
Joined: 1 year 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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@aspie)
Active Member
Joined: 1 year 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: 2 months ago

Support Team
Posts: 10722
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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 year ago

Active Member
Posts: 9
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 2 months ago

Support Team
Posts: 10722
Robert
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@aspie,

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


(@aspie)
Joined: 1 year ago

Active Member
Posts: 9
Robert
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@robert 

Now I know 😉
Thanks for your help!


Share: