Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Can’t edit main theme php files after upgrading to 4.9

Discussion in 'Misc WordPress Requests' started by Dpsachou, Nov 24, 2017.

  1. Dpsachou

    Guest

    Reply To: Can’t edit main theme php files after upgrading to 4.9, by Dpsachou

    Hello again,

    Saumya Majumder discovered that the issue is with themes or plugins that use PHP Sessions.

    After the session_start() command, php session hangs causing a timeout. This prevents the loopback request.

    After making some tests on my own, I found out that when the session is closed with a session_write_close() command, the issue disappears, and everything is working fine again. So the real issue does not seem to be on the php session itself, but rather to the open php sessions that never close.

    I guess that the open session locks the session files in php (?) and creating the problem.

    Reply To: Can’t edit main theme php files after upgrading to 4.9
     
    #1

Share This Page

Web Hosting