Title: Plugin Causing PHP Memory Limit to be Exhaused
Last modified: September 11, 2024

---

# Plugin Causing PHP Memory Limit to be Exhaused

 *  [webmarketingmatters](https://wordpress.org/support/users/webmarketingatters/)
 * (@webmarketingatters)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/)
 * Hi Advanced Dynamic Pricing for WooCommerce,
 * We have the plugin active on a client’s (Woo Subscriptions built) website, however
   from the front end we were experiencing a Critical Error message and before that,
   an empty shopping cart.
   Disabling the plugin resolved the problem.When viewing
   the PHP error log, it shows: `Allowed memory size of 268435456 bytes exhausted(
   tried to allocate 20480 bytes) in /home/storm/sites/[client site URL]/public/
   wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/Settings/OptionsList.
   php on line 41PHP message: PHP Fatal error: Allowed memory size of 268435456 
   bytes exhausted (tried to allocate 20480 bytes) in /home/storm/sites/elearning-
   ccoe-org-uk-1/public/wp-includes/class-wp-fatal-error-handler.php on line 76',`
 * We tried increasing the PHP memory limit to 512M, however it still has the same
   bug.
   This error/bug, comes after the website was automatically updated to WP 
   Version 6.6.2 last night.Any help is appreciated.Regards

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

 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18008127)
 * hi
 * Please, try rollback our plugin to previous version via >Plugins>Add New>Upload.
 * There is a dropdown at bottom of 
    [https://wordpress.org/plugins/advanced-dynamic-pricing-for-woocommerce/advanced/](https://wordpress.org/plugins/advanced-dynamic-pricing-for-woocommerce/advanced/)
 *  Thread Starter [webmarketingmatters](https://wordpress.org/support/users/webmarketingatters/)
 * (@webmarketingatters)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18008193)
 * Hi [@algolplus](https://wordpress.org/support/users/algolplus/),
 * Rolling back to 4.8.2 also had the same issues.
   Kind regards
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18008206)
 * please, try 4.7.2
 *  Thread Starter [webmarketingmatters](https://wordpress.org/support/users/webmarketingatters/)
 * (@webmarketingatters)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18008226)
 * [@algolplus](https://wordpress.org/support/users/algolplus/) Same problem. If
   I try to add a product that uses basket rules via Advanced Dynamic Pricing for
   WooCommerce plugin, I get a 500 error.
   When I deactivate the plugin, no error
   appears.
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18008420)
 * please, submit json report as new ticket to [https://algolplus.freshdesk.com/](https://algolplus.freshdesk.com/)
 * visit >Pricing Rules>Tools to get it
 *  Thread Starter [webmarketingmatters](https://wordpress.org/support/users/webmarketingatters/)
 * (@webmarketingatters)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18009972)
 * Thanks [@algolplus](https://wordpress.org/support/users/algolplus/). Ticket submitted.
 *  [woakley](https://wordpress.org/support/users/woakley/)
 * (@woakley)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18013495)
 * same here, this needs fixing urgently
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18013651)
 * hello
 * can you submit system report to our helpdesk too ? Visit >Pricing Rules>Tools
   to get it.
 * actually we need more detailed error message to detect infinite loop. If you 
   can- please install xdebug (module for PHP).
 *  [woakley](https://wordpress.org/support/users/woakley/)
 * (@woakley)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18013851)
 * If I go to the tools page I just get the error again:
 * **Fatal error**: Maximum execution time of 30 seconds exceeded in **/var/www/
   review/wp-includes/plugin.php** on line **179**
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18015228)
 * Could you send us your rules and settings ? It should not show fatal errors.
 * Visit >Pricing Rules>Tools>Backup and copy text (All rules).
   Select “options”
   in dropdown and copy this text too.
 *  [eimpacteric](https://wordpress.org/support/users/eimpacteric/)
 * (@eimpacteric)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18038865)
 * Same issue here. Also on a site that has subscriptions. Current versions of all
   plugins.
 *     ```wp-block-code
       Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1052672 bytes) in /home/****.cloudwaysapps.com/****/public_html/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/Settings/OptionsList.php on line 41Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 131072 bytes) in /home/****.cloudwaysapps.com/****/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php on line 600
       ```
   
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18039052)
 * We fixed this issue and plan to release new version next week.
 * If you submit ticket to [https://algolplus.freshdesk.com/](https://algolplus.freshdesk.com/)–
   we’ll provide fixed version tomorrow.
 *  [jjuul](https://wordpress.org/support/users/jjuul/)
 * (@jjuul)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18063077)
 * Hi, we’re experiencing the same issue. 
   Any updates on when the fixed version
   is out? 🙂
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18063198)
 * We planned to release it yesterday, but decided to test it more . So new version
   only on Monday .
   But you can get fixed version at (scroll to bottom and press
   button Download)[https://wordpress.org/plugins/advanced-dynamic-pricing-for-woocommerce/advanced/](https://wordpress.org/plugins/advanced-dynamic-pricing-for-woocommerce/advanced/)
 * You should install it via >Plugins>Add New>Upload

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

The topic ‘Plugin Causing PHP Memory Limit to be Exhaused’ is closed to new replies.

 * ![](https://ps.w.org/advanced-dynamic-pricing-for-woocommerce/assets/icon-256x256.
   png?rev=1984204)
 * [Advanced Dynamic Pricing and Discount Rules for WooCommerce](https://wordpress.org/plugins/advanced-dynamic-pricing-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-dynamic-pricing-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-dynamic-pricing-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-dynamic-pricing-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-dynamic-pricing-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-dynamic-pricing-for-woocommerce/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 14 replies
 * 5 participants
 * Last reply from: [algol.plus](https://wordpress.org/support/users/algolplus/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-causing-php-memory-limit-to-be-exhaused/#post-18063198)
 * Status: not resolved