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

[Solved] I can't edit using Appearance / Editor

15 Posts
3 Users
1 Reactions
29.9 K Views
Posts: 1593
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
(@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: 10746
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
(@robert)
Support Team
Joined: 3 months 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: 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
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: 10746
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
(@robert)
Support Team
Joined: 3 months 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: 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

The above seems to works right for my editing problem.

Thank you


Posts: 8
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
(@chonk)
Active Member
Joined: 8 years ago
Page 2 / 2
Share: