X
256704

500 error on stage website when creating new event

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?

BY: Miha Omejc - Oct 25,2021 AT 12:48AM - 3 years ago
    • Artem Oct 25,2021 AT 4:26AM - Posted 3 years ago - #256735

      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.

    • Miha Omejc Oct 25,2021 AT 4:55AM - Posted 3 years ago - #256756

      Memory limit is set pretty high. Here is debug log file.

    • Artem Oct 25,2021 AT 8:07AM - Posted 3 years ago - #256794

      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.

    • Miha Omejc Oct 25,2021 AT 9:38AM - Posted 3 years ago - #256800

      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.

    • Artem Oct 25,2021 AT 12:42PM - Posted 3 years ago - #256813

      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?

    • Miha Omejc Oct 25,2021 AT 11:58PM - Posted 3 years ago - #256843

      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.

    • Kenneth Oct 26,2021 AT 12:05AM - Posted 3 years ago - #256846

      Hello,

      Would you mind sending admin access to the live site as well so that we can compare the setup environments?

    • Miha Omejc Oct 26,2021 AT 1:28AM - Posted 3 years ago - #256863

      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.

    • Artem Oct 26,2021 AT 4:32AM - Posted 3 years ago - #256896
      [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.

    • Miha Omejc Oct 27,2021 AT 4:13AM - Posted 3 years ago - #257094

      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?

    • Artem Oct 27,2021 AT 4:38AM - Posted 3 years ago - #257107

      Please contact ThemeForest about refunds.

      The problem is in your server so there is not a lot we can do from our side.

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON