Modern Events Calendar gives 500 Internal Server Error

I see one other user had had this issue too: Modern Events Calendar breaking my admin side Unfortunately that thread is closed so I’m submitting my case.

I have the exact same issue as @threeoten has described here- i get a 500 internal server error when trying to log into my site. My site is with dreamhost. I’m using php 7.4. MEC is version 5.9. These are my custom php settings:
max_execution_time = 600
max_input_vars = 10000
memory_limit = 512M
max_input_time = 400;

Just to let everyone know, I contacted the developers of the “Modern Events Calendar” plugin (Webnus) and they took a look and just said to “increate the memory on your site to prevent the lack of server memory.” which i did (to 512M) but I still have the issue.

I found that the MEC plugin was the issue by disabling ALL my plugins and then one by one enabling them to see which one would give me the 500 error. the MEC plugin was only one that did that, so unless MEC is conflicting with some other plugin on my site to create the 500 error, it seems that no other plugin is at fault.

Not sure if @Themeco can do anything or not but I more than less wanted to report the issue here in case others are seeing the same issue.

Hi @Tech4Eleven,
Thanks for reaching out.

Can you please copy your live site to a staging server with the exact setup you have in your live server? So we could troubleshoot freely without breaking your live site and will try to recognize the problem behind this.
Please give us access in the secure note including:

– WordPress Site URL & Admin URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

I have sent the secure note about the staging area. I think MEC plugin is competing with another plugin(s) on my site. I disabled all plugins except MEC and the site ran extremely well. The only way the main and staging sites work on the backend is to rename the MEC plugin folder so that’s what I’ve done. you can rename it obviously to re-active the plugin.
thanks for looking.

Hi @Tech4Eleven,

I couldn’t replicate the issue on your staging area. I activated the Modern Event Calendar but I don’t get 500 error while accessing your backend. I also check the site health of your website and they are just looking good. From time to time, just observe your website first and if the issue is still persists, please let us know so that we can investigate further.

Hope that helps.

Thank you.

Thanks for taking a look. I don’t understand how you didn’t see the problem. I cant get log into the staging area - I try to log in and it sits and sits and then gives me the 500 internal server error.

Hi @Tech4Eleven,

Can you share us a video that you are having an issue on your back-end (500 internal server error) because when I tried to visit your staging area they are just working fine.

Hope that helps and let us know how it goes.

Thank you.

Here is what I see every time I go to login WITH the MEC plugin enabled: https://www.dropbox.com/s/uzpk9n6jz4mr3ln/blackhillsbirthnetwork-500error.mp4?dl=0

You can see that after the password is entered, it takes 2 minutes before anything happens and the only thing that happens is the 500 error.

This is in firefox, which i rarely used, and cache and cookies were erased in the browser before starting this video.

Hi @Tech4Eleven,

The issue mentioned in the thread and described in the video is found, to examine the error behind the problem we need to add below given the code into your wp-config.php for debug setup, which will log the error into the file name debug.log inside the wp-content folder.

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
//SET PHP INI DISPLAY ERROR FALSE
@ini_set( 'display_errors', 0 );

But unfortunately, the given FTP credentials are not working at our end and code can’t be added. Can you please recheck and send that again or if it possible please add the above code to your wp-config.php file to recognize the error.
You can let us know if you find any error that is related to our theme or theme bundled plugins. We can do further investigation based on that.

Note: Please find the video will help you to edit wp-config.php and add the above code: https://www.youtube.com/watch?v=3SDPTafEM8o

Thanks

I have added that code now.

Hello @Tech4Eleven,

I have made some changes in your wp-config.php file with the PHP memory limit and the debug mode. I also deactivated the USP-Pro plugin.

Kindly check your site now.

Yes I see that you put the max memory to 728. I also have the memory limit set to 512MB in php.ini. You’re not going to like hearing this but I still cannot get into this staging website. I still get the 500 internal server error. Unfortunately disabling the usp-pro plugin is not a viable solution for me in any fashion because I need that plugin. On my main website, I have removed the MEC plugin completely and just am using The Event Calendar plugin which works perfectly. I’m fine using that for now though I would like to have a solution for MEC.

Hi @Tech4Eleven,

Can we have access to your Hosting Provider? for some reason your wp-config.php files was overwritten. We need to check the database name and database password so that it will match in wp-config.php.

Thank you.

Im not sure what happened. I see that the wp-config file for the staging site wants to use a database called “bhbn_main_wp_stage” but that database doesn’t exist and when i visit the staging site it says “Can’t select database”. Honestly im not sure what database the staging site was using before but there’s only the main database for the main site. I might need to delete the staging site and start over. But I think im going to give up on this issue for now and just delete the staging site. The Event Calendar plugin is working fine for me so i won’t be using the MEC plugin. thanks for all your help.

You are welcome, @Tech4Eleven

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.