I am working in a PHO environment in Heroku with ClearDB. At some point (really low), I get this error:

WordPress database error User 'XX' has exceeded the 'max_questions' resource (current value: 3600) for query SHOW TABLES LIKE 'wp\\_users' made by display_setup_form.

I guess this is an error due to use the free database plan of ClearDB. However, after getting that error (spotted in the server logs), the server is redirecting to the install screen.

Is there any way to catch that error, and avoid showing the install screen?

  • you're correct, its the max queries per hour provided by your host. It resets after one hour. Maybe you can contact your hosting support for better guidance on this – Piyush Rawat Nov 14 '17 at 4:08
  • I have been getting this error alot recently as well. No real insights other yet. Did you get it resolved? – corbanb Dec 12 '17 at 20:47
  • 1
    Basically I moved from ClearDB to Amazon RDS, where that limit is not imposed. I found clearDB on Heroku as a non viable DB for Wordpress. If you want to keep with ClearDB, I would choose one of their AWS single tenant services, where you don't have that limitation either. w2.cleardb.net/aws – xpander001 Dec 12 '17 at 21:00
  • I have the same exact problem no one answers how to stop that forwarding and show normal error! – shady sherif Jul 2 '18 at 23:10
  • Getting the same issue with ClearDB. (They don't warn you when you're about to hit the limit AND there's no way to check for yourself.) On a related note, this might help (but does not work with ClearDB): dba.stackexchange.com/a/31300/48845 – Fabien Snauwaert Sep 28 '18 at 16:56

You may install WordPress for postgres. I am the maintainer of the project.

The repository here: https://github.com/php4dev/heroku-wordpress

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.