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 Marius L. J., Nov 17, 2017.

  1. Marius L. J.

    Guest

    Reply To: Can’t edit main theme php files after upgrading to 4.9, by Marius L. J.

    All right, so they’re not managing to create a connection at all, we’re at least getting somewhere, thank you!

    Let’s have a quick look at the actual response as well, although we have a suspicion as to the root cause.
    Add the following log line as well


    if ( is_wp_error( $r ) ) {
    error_log( 'Connection failed' );
    error_log( var_export( $r, true ) );
    } else {
    error_log( 'Connection created');
    }


    It will check if the connection failed altogether, if it did it will provide a chunk with the error object so that we can see the error codes and messages to nail down the root cause.

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

Share This Page

Web Hosting