Divi WordPress Theme
  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 Pádraig Ó Beirn, Nov 18, 2017.

  1. Pádraig Ó Beirn


    Reply To: Can’t edit main theme php files after upgrading to 4.9, by Pádraig Ó Beirn

    Thanks Marius for your patience and help.
    Webhost: Blacknight (Maximus shared hosting package)
    Exact Error: Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.
    When does it occur?: A few seconds after clicking the Update button on editing an active Theme php file or active plugin php files (css or txt files are not affected) in the WP theme or plugin editor.

    Error still occurs with plugins de-activated and 2017 theme activated. Re-activated plugins and ran Health Check with the following results:

    Server architecture: Linux 2.6.32-673.26.1.lve1.4.30.el6.x86_64 x86_64
    PHP Version: 7.0.25 (Supports 64bit values)
    PHP SAPI: cgi-fcgi
    PHP max input variables: 2048
    PHP time limit: 120
    PHP memory limit: 256M
    Upload max filesize: 32M
    PHP post max size: 32M
    cURL Version: 7.54.0 OpenSSL/1.0.2k
    SUHOSIN installed: No
    Is the Imagick library available: No

    Server version: 5.5.57
    Client version: 5.6.37

    Your PHP install supports JSON.
    Your MySQL version supports utf8mb4
    WordPress.org is reachable from your server.
    You are using HTTPS to access this website.
    Your WordPress install can communicate securely with other services.
    No version control systems were detected.
    Your installation of WordPress doesn’t require FTP credentials to perform updates.
    All of your WordPress files are writable.

    – A scheduled event (nxs_querypost_event) has failed to run. Your site still works, but this may indicate that scheduling posts or automated updates may not work as intended.

    x The WP_AUTO_UPDATE_CORE constant is defined and enabled. [I have this set intentionally].
    x WordPress security and maintenance releases are blocked by define( ‘WP_AUTO_UPDATE_CORE’, false );. [I have this set intentionally so I can review updates on a test site first]

    x Unable to perform a loopback request to your site, this may prevent WP_Cron from working, along with theme and plugin editors.

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

Share This Page

Monarch Social Sharing Plugin