Public Ticket #3489461

Wordpress Crashes

Closed
Comments
7 Tickets 2
Matthew started the conversation 3 years ago on October 1, 2023 at 12:47pm

Hello

B2BKing is intermittently crashing the whole website when trying to load in the backend. I am getting the "critical error" screen when trying to load up the B2BKing Dashboard. I have updated to the latest B2BKing Version, so this is isn't the problem. 

The only recent changes I have made is by adding one more dynamic pricing rule (I already had one already set which is will working fine, then I added a second). 

Could this be the problem? Could adding a second dynamic pricing rule cause the whole backend of the website to crash randomly? 

Are there any other recommended changes I should be making?

Thanks

Matt


2,762
KingsPlugins replied 3 years ago on October 1, 2023 at 1:41pm

Hello Matthew,

From what you described, it might be caused by dashboard data caching - it would also explain why it happens intermittently, since this cache is refreshed around every 25 minutes.

Please try adding this PHP code snippet to your site:

add_filter('b2bking_cache_time_setting', function($time){
    return 1600000;
}, 10, 1);

(can be added to functions.php or any snippets plugin).


If that's the issue, it should solve it.


We can also check the problem directly if you are able to share a backend login to the site with us.


Kind regards,

Stefan


2,762
KingsPlugins replied 3 years ago on October 5, 2023 at 3:25pm

We would need an administrator-level login, as we may need to take various troubleshooting steps: installing debug plugins, checking the database, debug log, code tests, etc.

I understand it's sensitive to share access to the site backend that way. Sometimes customers prefer to share access to a staging clone site with us, rather than the actual site. Many hosting companies also have a feature (in cpanel, hosting management, etc) to easily create a staging copy site.



Sign In