• Resolved natecarlson1

    (@natecarlson1)


    I get the following message when I am trying to edit php files on wordpress editor:

    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.

    I used WordPress Healthchecker, deactivated all my plugins, and found it was Stripe Payments after reactivating all plugins one at a time.
    I am using PHP configuration 7.0.
    I can edit my PHP files when the Stripe Payment plugin is deactivated.
    Any advice?

    Thanks,

    Nate

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Alexander C.

    (@alexanderfoxc)

    Hi @natecarlson1 and thank you for your report.

    Indeed, I was able to reproduce this bug. I’ll see what can be done here and let you know.

    Thread Starter natecarlson1

    (@natecarlson1)

    Thanks for the fast response!

    Plugin Contributor Alexander C.

    (@alexanderfoxc)

    I found the issue and rectified it. The fix is coming in next version (which should be released shortly – in a day or two max).

    Once again, thank you for reporting this. I would never thought the plugin could actually conflict with Themes Editor, keeping in mind its functionality not even related to it. But looks like some changes introduced in WP 4.9+ made the impossible possible ??

    If you need a fix now and prefer not to wait when new version is released, you can fix it manually by modifying one line of the code. In accept-stripe-payments.php file, go to line #108. It should look like this:

    if ( session_id() == '' ) {
        session_start();
    }

    You need to make it look like this:

    if ( session_id() == '' && ! wp_doing_ajax() ) {
        session_start();
    }
    Plugin Author mra13

    (@mra13)

    Thank you. The new version should address this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘This plugin is not allowing me to edit PHP’ is closed to new replies.