Hello, I have a weird problem. I have production and stage website on same server. Website setup almost identical, I am creating new theme on staging website.
On my staging website I cannot create new event. I get 500 server error. If I disable Litespeed cache and ProfilePress plugin, I can create new event. But the strange thing is that I can easily create new event on production website, with Litespeed cache and ProfilePress turned on!
I ruled out any theme conflict, tried to enable default theme and the problem on staging website persists. Can you help me?
Oct 25,2021 AT 12:48AM - 3 years ago -Hello,
Usually, the problem is with memory limit: https://docs.myeventon.com/documentations/increasing-wordpress-memory-limit/.
Please follow the instructions in this documentation to activate debug in your site to see any PHP errors recorded that can provide insight on to whats going on. Please reply with a link to debug.log file. If you are not able to do this please send us FTP access to your site so we can do this for you.
Memory limit is set pretty high. Here is debug log file.
As I thought the issue is with memory:
[25-Oct-2021 11:50:06 UTC] PHP Fatal error: Out of memory (allocated 601882624) (tried to allocate 1376256 bytes) in Unknown on line 0
You need more than 600MB available.
PHP memory limit is set to 4096M, you can check it in Site Health tab in WP admin. The problem persists. Wouldn’t be 4gb RAM enough?
I believe server has more than enough RAM (16gb) to handle it. I am attaching current stats of the server usage.
Sometimes the only way of increasing memory limit is to change the php.ini file which can only be done on a dedicated server or through a hosting support.
And if you disable your other plugins and switch the theme will it work then?
As I wrote in my first post: yes, if I deactivate Litespeed cache and ProfilePress plugins, adding new event works. I am OK with ProfilePress being deactivated, but Litespeed cache plugin is not optional. So I need a solution with this plugin turned on.
Hello,
Would you mind sending admin access to the live site as well so that we can compare the setup environments?
Is there any other option? I am not really comfortable giving admin access for live site. If it’s only for comparing environments here is the live site info copied from Site Health Info. You can compare it with staging environment.
[25-Oct-2021 16:58:15 UTC] PHP Fatal error: Out of memory (allocated 606076928) (tried to allocate 48250880 bytes) in /home/domovina/dev1.domovina.je/wp-content/plugins/query-monitor/output/html/hooks.php on line 106
The line says that the issue is with Query Monitor. Could you try disabling it but leave Litespeed.
I tried and it works. Unfortunately we’ll be usign this plugin on live site too. Although I appreciate your help, we are not getting any closer to a viable solution.
I am in talks with my client about using some other events plugin. If we can’t make it to work properly, are there any options for a refund?
Please contact ThemeForest about refunds.
The problem is in your server so there is not a lot we can do from our side.