Title: Major error while the plugin is active
Last modified: June 6, 2024

---

# Major error while the plugin is active

 *  Resolved [lesi2000](https://wordpress.org/support/users/lesi2000/)
 * (@lesi2000)
 * [2 years ago](https://wordpress.org/support/topic/major-error-while-the-plugin-is-active/)
 * Note: Currently the plugin is turned off as it breaks some pages of the site.
   
   Hi and thank you for creating this plugin! It is awesome and does a great job.
   However currently i have it turned off on my site as it causes some pages to 
   break.
 * At first i didn’t thought it was the plugin itself. On some of the bigger product
   catalogue pages the php just dies. what i mean:
   In our – e- store we have many
   categories and products. If a person clicks on a subcategory with not that much
   products on it (20-40) all is normal.
 * But when a person click on a main category with 90+ products for example, the
   page breaks in this way:
 * [https://prnt.sc/vQ4fVi7Jw70P](https://prnt.sc/vQ4fVi7Jw70P) – page with errors
 * I turned on the debug log and at first it told me no memory limit.
 *     ```wp-block-code
       Allowed memory size of 268435456 bytes exhausted (tried to allocate 23158040 bytes) in /home/[path]/class-wpdb.php on line 2349.
       ```
   
 *  At this point it was already 256M and i increased it at 512M. I didn’t expect
   this to be my permanent solution because i find this memory too much for just
   a category page display so i knew i only put a bandage on the problem.
 * This solution didn’t helped for the display, but then the debug started to show
   other fatal errors such as:
 *     ```wp-block-code
       Maximum execution time of 30 seconds exceeded in /home/[path]/class-wpdb.php on line 1283
       ```
   
 * and
 *     ```wp-block-code
       Error when decoding a JSON at path /home/[path]/wp-content/plugins/woocommerce/assets/client/blocks/rating-filter/block.json: Syntax error in /home/[path]/wp-includes/functions.php on line 4631
       ```
   
 * And the problem from the upper screenshot continues. I was puzzled.
   The only 
   new thing that appeared on the site is WholesaleX plugin so i decided to try 
   and deactivate it. and somehow everything came back to normal.
 * [https://prnt.sc/EQoJNLbybfnL](https://prnt.sc/EQoJNLbybfnL) – how it should 
   be
 * 
   I understand that it may be some kind of incompatibility , but i truly want 
   to find the problem as i find your plugin awesome and i want to continue use 
   it on my sites for the future.
 * Any help will be appreciated!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmajor-error-while-the-plugin-is-active%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Owadud](https://wordpress.org/support/users/owadud655/)
 * (@owadud655)
 * [2 years ago](https://wordpress.org/support/topic/major-error-while-the-plugin-is-active/#post-17811781)
 * Hi there,
 * Thank you for your kind words about our plugin! We’re glad to hear you find it
   awesome and that it does a great job.
 * Our developer will work on fixing the issue you’ve described. In the meantime,
   I understand that you’ve turned off the plugin as it breaks some pages of your
   site. From your description, it appears the issue occurs when viewing larger 
   product categories, resulting in memory exhaustion and subsequent fatal errors.
 * Our team will investigate the root cause and provide a solution as soon as possible.
 * Thank you for your patience and understanding. We’ll keep you updated on our 
   progress.
   RegardsOwadud

Viewing 1 replies (of 1 total)

The topic ‘Major error while the plugin is active’ is closed to new replies.

 * ![](https://ps.w.org/wholesalex/assets/icon-256x256.gif?rev=2894829)
 * [WholesaleX - B2B & Wholesale Plugin for WooCommerce with Wholesale Prices](https://wordpress.org/plugins/wholesalex/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wholesalex/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wholesalex/)
 * [Active Topics](https://wordpress.org/support/plugin/wholesalex/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wholesalex/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wholesalex/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Owadud](https://wordpress.org/support/users/owadud655/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/major-error-while-the-plugin-is-active/#post-17811781)
 * Status: resolved