Quantcast
Channel: WordPress.org Forums » [WholesaleX - WooCommerce Wholesale Plugin (Wholesale Prices, Dynamic Pricing, Tiered Pricing)] Support
Viewing all articles
Browse latest Browse all 54

Major error while the plugin is active

$
0
0

Replies: 0

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 – page with errors

I turned on the debug log and at first it told me no memory limit.

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:

Maximum execution time of 30 seconds exceeded in /home/[path]/class-wpdb.php on line 1283

and

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 – 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!


Viewing all articles
Browse latest Browse all 54

Trending Articles