Title: max_questions error in error_log
Last modified: April 8, 2021

---

# max_questions error in error_log

 *  Resolved [bkjproductions](https://wordpress.org/support/users/bkjproductions/)
 * (@bkjproductions)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/max_questions-error-in-error_log/)
 * When using WP Forms Lite on a WP5.7 installation at Bluehost shared hosting, 
   getting a repeated error that I suspect is from **WP Forms:**
 *     ```
       [08-Apr-2021 17:45:55 UTC] WordPress database error User 'xxx' has exceeded the 'max_questions' resource (current value: 1) for query 
       SELECT a.action_id FROM wp_actionscheduler_actions a 
       WHERE a.hook='wpforms_process_entry_emails_meta_cleanup' 
       AND a.status='pending' 
       ORDER BY scheduled_date_gmt ASC LIMIT 1
        made by require('wp-blog-header.php'), require_once('wp-load.php'), 
       require_once('wp-config.php'), require_once('wp-settings.php'),
        do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, 
       WPForms\WPForms->WPForms\{closure}, WPForms\Tasks\Tasks->init, WPForms\Tasks\Actions\EntryEmailsMetaCleanupTask->__construct, WPForms\Tasks\Actions\EntryEmailsMetaCleanupTask->init, 
       as_next_scheduled_action, ActionScheduler_DBStore->find_action
       ```
   
 * Talking with support at Bluehost they increased the memory for PHP in .htaccess
   using `hp_value memory_limit 2048M` but that doesn’t really help. Since this 
   is shared hosting I don’t think I can change the max_questions setting.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Jade](https://wordpress.org/support/users/jadeam/)
 * (@jadeam)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/max_questions-error-in-error_log/#post-14308468)
 * Hello [@bkjproductions](https://wordpress.org/support/users/bkjproductions/),
 * Thanks for writing in and we’re sorry to hear about the trouble you’re facing.
 * It looks like the error you are getting is related to the Action Scheduler.
 * When you get the chance, can you please go over and follow [this guide](https://wpforms.com/docs/how-to-troubleshoot-action-scheduler-issues-in-wpforms/)
   on how to troubleshoot Action Schedule in WPForms?
 * I hope this helps.
 *  [Jade](https://wordpress.org/support/users/jadeam/)
 * (@jadeam)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/max_questions-error-in-error_log/#post-14338365)
 * Hi [@bkjproductions](https://wordpress.org/support/users/bkjproductions/),
 * We haven’t heard back from you in about a week, so I’m going to go ahead and 
   close this thread for now. But if you’d like us to assist further, please feel
   welcome to continue the conversation.
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘max_questions error in error_log’ is closed to new replies.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jade](https://wordpress.org/support/users/jadeam/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/max_questions-error-in-error_log/#post-14338365)
 * Status: resolved