Hi there,
We’re running B2BKing Pro on a WooCommerce site with just over 10,000 products, and we’re running into a critical error when clicking the “Make Offer” button in the Conversations area of the admin.
Suspected Issue:
From our debugging and log analysis (and confirmed by Object Cache Pro logs and memory traces), it appears that the "Make Offer" action attempts to preload all products or product meta before rendering the offer UI.
This results in an out-of-memory error, even with the PHP limit increased to 2GB:
python CopyEdit Fatal error: Allowed memory size of 2122317824 bytes exhausted (tried to allocate 20480 bytes)
The error originates inside:
css CopyEdit /wp-content/mu-plugins/object-cache-pro/src/Connections/Connection.php
We’ve isolated the issue:
-
All custom snippets disabled
-
fails when clicking “Make Offer”
Question:
Does B2BKing pre-load all products or product meta when opening the “Make Offer” UI in admin?
And if so:
-
Is there a known way to lazy-load only items mentioned in the conversation (cart/session)?
-
Can the UI or offer builder be restricted to avoid full catalog indexing?
We’d prefer not to disable plugins like Object Cache Pro or reduce our catalog (as we expect to scale further), and ideally want to keep the “Make Offer” option available for bespoke quoting.
Let me know what’s happening behind the scenes and if there’s a hook/filter/workaround we could apply.
Thanks so much – happy to provide more logs if helpful.
Kind regards,
Aaron