• Resolved Tessa Watkins

    (@tessachu)


    So I recently updated this plugin on my dev site, and that site is supposed to be in perpetual “maintenance mode” because it is not a public website. It says in the instructions to simply edit the page and press save, but every time I do that, I get this message:

    Something has prevented the page from being saved. The host you are using may have a security setting preventing it from being saved. Refresh the page and try again.

    I’ve refreshed and tried again to no avail. With WP_DEBUG and WP_DEBUG_LOG turned on in the wp-config.php file, I was able to find this logged:

    [03-Nov-2020 16:43:26 UTC] PHP Notice: Undefined property: stdClass::$enable_404_mode in /<my server>/dev/wp-content/plugins/coming-soon/app/settings.php on line 25

    Do you think this has anything to do with it? When the message talks about security settings, what does it exactly mean and what should I try?

    Thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support franz1989

    (@franz1989)

    Hello,

    If you are having an issue saving the content of the Coming Soon page and the error you get is about the security settings from your host. Possible that your host implemented security on the server and the plugin feature is being blocked. Sometimes this issue is caused by a mod_security implemented by most of the hosting companies. You may want to check with your host and verify if they are blocking any action on your site.

    If you continue to have an issue, you can download the old version of the plugin here:
    https://www.ads-software.com/plugins/coming-soon/advanced/ at the bottom of this page. You need version 5.1.3 and it should work.

    • This reply was modified 4 years, 4 months ago by franz1989.
    • This reply was modified 4 years, 4 months ago by franz1989.
    Thread Starter Tessa Watkins

    (@tessachu)

    Thank you for your quick response! I am a hosting reseller and this website is on my account. I can confirm that mod_security is not implemented on this site.

    However, I do have the Wordfence Security plugin installed and when I deactivated it, I was able to save the page then. That’s really strange. Do you know which settings within Wordfence would be a conflict? I would like to continue using both plugins.

    Plugin Support franz1989

    (@franz1989)

    Hello,

    Not sure how Wordfence structure works but if there is an option to exclude directory or plugin. You can exclude the Coming Soon plugin. You may want to check it with Wordfence.

    Let me know should you have any more questions.

    Thread Starter Tessa Watkins

    (@tessachu)

    I think I found a solution. Your last response gave me an idea. I went into Wordfence’s firewall settings and I saw that there were some whitelisted URLs back when it was in learning mode in September.

    To test before making my change, I attempted to save the page with both plugins activated as they were and got the security error as I expected.

    I then went into Wordfence’s firewall settings and put it back into “Learning Mode” and saved those changes.

    I went back to the page and saved, and it worked! I refreshed the firewall settings in Wordfence and saw that a new URL was whitelisted. Specifically /wp-admin/admin-ajax.php for URL, and request.body[settings] under Param. The created date was today and the source says “Whitelisted while in Learning Mode.”

    To double-check that the action was indeed fixed, I put the firewall back in “Enabled and Protecting” mode and then went to go edit and save that page again. It still worked.

    Glad we could find this fix! I just wanted to post my solution here in case anyone else came across it.

    Plugin Support franz1989

    (@franz1989)

    @tessachu Thank you for sharing the information. We’ll take note of it.

    Perfect, same issue for me. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t Save Maintenance Mode Page’ is closed to new replies.