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

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] PHP issue with wpForo

3 Posts
3 Users
2 Reactions
2,177 Views
StocksForum
Posts: 135
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
(@stocksforum)
Estimable Member
Joined: 8 years ago
[#8136]

 

I noticed this issue with wpForo in my error logs:

 WARNING: [pool smallcaps.com.au] child 1962 said into stderr: "NOTICE: PHP message: PHP Warning:  session_start(): Cannot start session when headers already sent in /var/www/vhosts/smallcaps.com.au/httpdocs/wp-content/plugins/wpforo/wpf-includes/class-notices.php on line 16"

How can this be fixed? Does your plugin need updating?


2 Replies
Posts: 1001
Moderator
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
(@martin)
Support Team
Joined: 10 years ago

This error says that wpForo doesn't have any PHP error. Your output is affected by other plugin error and it generates " headers already sent " NOTICE in wpForo functions. It'll generates such notices in all plugins who have session functions. So please find the plugin who generates errors or outputs in header. Deactivate those one by one and check, once the wpForo Notice is gone then the problem is fixed and you found the problem maker plugin.

This error also can be from functions.php of your theme.

Another explanation: https://wordpress.org/support/topic/php-warning-in-cron-daemon/#post-12238846


Posts: 1593
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
(@anonymous20)
Noble Member
Joined: 10 years ago

Also this error could mean some spaces (white space) you added IF you edited some php file in the core or a plugin. If you haven't touched any code, then ignore my reply.

 


Share: