Public Ticket #3701616

daynmaic rules page showing critical error

Closed
Comments
1 Ticket
noman started the conversation 2 years ago on August 8, 2024 at 12:00pm

daynmaic rules page showing critical error when i try to add rule it show error 

There has been a critical error on this website. Please check your site admin email inbox for instructions.

2,762
KingsPlugins replied 2 years ago on August 8, 2024 at 12:38pm

Hello Noman,

Thank you for purchasing our plugin,


I believe the issue is likely that the store has a large number of products / users, and the dynamic rules page is not able to display all, leading to an error.

To solve this, please try going to B2BKing -> Settings -> Other, and enable the 2 options here as that would usually solve it:

5958300022.png


Let me know if you still have issues after that,

If you'd like, we can also check this directly on the site and troubleshoot. For that, we would need a backend login to the site or staging site,


Kind regards,

Stefan

2,762
KingsPlugins replied 2 years ago on August 8, 2024 at 1:18pm

Thank you for clarifying,

It does seem different than the issue I was thinking about with too many products / users - those would just lead to a slow load time or page timeout, not a critical error.


I think there may be some kind of plugin conflict or similar error. It may help to try deactivate all other site plugins and switch to the default Storefront theme to see if that can solve it. It would also help if we knew the exact error details (you may be able to get it from a debug log via https://wordpress.org/plugins/debug-log-config-tool/ ).


Other than that I am not sure what it could be unfortunately. It would be great if we were able to troubleshoot it directly on the site or a staging site.

2,762
KingsPlugins replied 2 years ago on August 8, 2024 at 10:02pm

Thank you for the access details,


I was working on this now and running some code tests to troubleshoot what exactly is causing the error. Unfortunately it seems for some reason one of my tests resulted in a general critical error on the site.

My apologies for the issue - I do not fully understand why this happened.

Is it possible to share a FTP access to the site, so I can access it via file manager? that way I can disable that code manually.


I have given this ticket our highest priority and we are working on resolving this as fast as possible.


1 Ticket
noman replied 2 years ago on August 9, 2024 at 10:00am

i found the error we have 3100+ categories and b2bkind not able to process this much categories i made comment some code and it working now but its temprory solution

2,762
KingsPlugins replied 2 years ago on August 9, 2024 at 12:41pm

Thank you for the details and my apologies again for the issue,

Indeed it seems the main problem is with categories there. I have made an update to B2BKing to address that,


It is now possible to choose "product, category, or variation IDs" and then enter IDs as:

- "product_123"

- "category_123"

where 123 is the ID.

For example:

5877750662.png


the ID is the number in the URL when editing each category or product:

9747382484.png


Let me know if you still have any issues,

1 Ticket
noman replied 2 years ago on August 9, 2024 at 3:01pm

issues was not it issue is it cant handle so much categories.. also i have question ifa vendor want to sell only b2b or only b2c how can he select?

2,762
KingsPlugins replied 2 years ago on August 9, 2024 at 6:40pm

To sell only B2B / B2C, there are 2 main options vendors could use:


(A) They can go to the rules page and create a "hidden price" rule for b2b / b2c where they select all products:

5986289142.png

These rules hide price, but also prevent customers from purchasing (products cannot be added to cart)


(B) For each product, vendors can choose visibility individually, here:

4347926360.png



For these options to be available, they have to be enabled in B2BKing settings for vendors in Dokan / WCFM settings here:

6617605946.png


Sign In