Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

wpForo 1.x.x [Solved] I can't edit using Appearance / Editor

15 Posts
3 Users
1 Reactions
29.2 K Views
Posts: 1594
Topic starter
(@anonymous20)
Noble Member
Joined: 10 years ago

@robert with the help of a programmer at my hosting, after adding some debug code in file.php (wp-admin/include), there is some info in the debug log that _could_ help you solve this:

[17-Sep-2018 13:25:03 UTC] Starting edit check
[17-Sep-2018 13:25:03 UTC] Body:
[17-Sep-2018 13:25:03 UTC]
[17-Sep-2018 13:25:03 UTC] Connection failed
[17-Sep-2018 13:25:03 UTC] WP_Error::__set_state(array(
'errors' =>
array (
'http_request_failed' =>
array (
0 => 'cURL error 28: Operation timed out after 100002 milliseconds with 0 bytes received',
),
),
'error_data' =>
array (
),
))


Robert
Posts: 10600
Admin
(@robert)
Support Team
Joined: 10 years ago

Thank you Anonymous20,

Unfortunately the debug code says nothing new. The issue is general issue. All plugins who call session_start() function cannot be edited by WordPress editor, because the new version of WordPress editor tries to execute code to check if it doesn't returns any error. Other editors works fine, they don't try to execute the edited code. We'll check this and try remove session functions in dashboard.


1 Reply
(@anonymous20)
Joined: 10 years ago

Noble Member
Posts: 1594
Posted by: Robert

Thank you Anonymous20,

Unfortunately the debug code says nothing new. The issue is general issue. All plugins who call session_start() function cannot be edited by WordPress editor, because the new version of WordPress editor tries to execute code to check if it doesn't returns any error. Other editors works fine, they don't try to execute the edited code. We'll check this and try remove session functions in dashboard.

I have done some reading about this. It seems that WP doesn't use php sessions at all. And there are many reasons not to use them, performance one of them. Or so i read.

Still. i'm not into programming, so ....


Robert
Posts: 10600
Admin
(@robert)
Support Team
Joined: 10 years ago

@anonymous20, @chonk

Please try to do this small change in core file. We'll update it in next release.

Open /wp-content/plugins/wpforo/wpf-includes/class-notices.php file.

Find this line:

if(!wpforo_is_session_started()) session_start();

Change to this:

if( !wpforo_is_session_started() && !is_admin() ) session_start();

 


1 Reply
(@anonymous20)
Joined: 10 years ago

Noble Member
Posts: 1594

The above seems to works right for my editing problem.

Thank you


Posts: 8
(@chonk)
Active Member
Joined: 7 years ago
Page 2 / 2