Advice: Needs optimization
-
Hi,
The plugin has a small bug/not optimized situation. In class-mwb-zendesk-global-functions.php (which by the way, doesn’t contain any classes :)) ), on the mwb_zndskwoo_order_config_get_all_order_fields function, you need to fix the following:
$order_ids = wc_get_orders(
array(
‘status’ => ‘any’,
‘return’ => ‘ids’,
‘limit’ => -1,
)
);Why: if anyone installs this plugin and already has a lot of created orders, the page configuration will just crash. In my example, a shop which has 100.000 orders. The fix was to change the limit from -1 to a reasonable number. ??
Good luck.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.