Support » Plugin: Optimize Database after Deleting Revisions » Web server returning an unknown error

  • Resolved username201701


    Hello I’m unable to access my website after using your plugin. In my server error log I’m seeing the following message

    PHP Warning: Invalid argument supplied for foreach() in …wp-includes/rest-api/endpoints/class-wp-rest-controller.php on line 295

    I’ve deleted your plugin manually by deleting its folder but I’m still unable to access the site. Could you please explain what may have caused this error?

    Thank you.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author cageehv


    Hey username201701,

    Did you try to deactivate all plugins?

    (The warning is probable caused by the new WP Gutenberg page editor)

    Let me know.


    Hi Rolf – I can now only intermittently access it my site after changing the cache settings in Cloudflare. Yes I deactivated all plugins and it didn’t make any difference.

    I assume that when I ran your plugin, it altered something in the database and that is causing the problem?

    If I were to contact my hosting company to get a backup of my site (I didn’t, but should have, made my own backup before running your plugin), would this fix the issue? I don’t know a lot about database errors, but I assume a backup will only reinstate the previous files and folders, not make alterations to the db. Is this correct?

    Thanks for your help. I’ve also reached out to Cloudflare support to see if they can diagnose and hopefully fix the problem on their end.

    Plugin Author cageehv


    Hey username201701,

    To be honest: I doubt if my plugin has anything to do with the issue. Probably not.

    It’s hard to say what caused it.

    You could ask Cloudflare to restore the latest database backup from just before the crash. I don’t know if that will fix the problem or not.
    Tip: make a backup of the current database before asking Cloudflare for the database restore (just in case…)

    Good luck!


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Web server returning an unknown error’ is closed to new replies.