Modern Events Calendar breaking my admin side

Hi, I’m having a problem where I can’t get into the admin side of my site while I have MEC active. I’ve done the troubleshooting and if I go in via FTP and rename the MEC plugin folder, then I can get into the site. This is a problem because I am using the plugin prominently on the site and I have to disable it entirely in order to work on the site. I am using the latest version that themeco has available to me, 5.9.0. I don’t understand what exactly is happening but I need to get a fix for this and it seems to have to do with MEC, since disabling it solves the problem.

Hi @threeotenm

Thanks for reaching out.

When I log in to your website and go to the plugin page, I can’t access the said page.

Please fix this issue so that we could help you with your concern.

Hope that helps and let us know how it goes.

Thank you.

Correct, you are experiencing the exact problem that I am posting about. That’s what I see when trying to log in. And again, if I go in via FTP and temporarily rename the folder of the MEC plugin, I will not see this error and I can log in just fine.

Hi @threeotenm

It seems the other pages including the dashboard is opening properly, except the plugin page. That means, there could be something causing the issue on your site only.
Can you please deactivate all other plugins except the Modern Even Calendar, you can do that by renaming the MEC from FTP and deactivate it from Plugins page and rename the MEC again from FTP.
And then check the plugin page is worked or not, if that does not work please add the following code to your wp-config.php for debug setup.
And please inform us of the issues which will help us to diagnose the problem.

// 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 );

Please find the video will help you to edit wp-config.php and add the above code: https://www.youtube.com/watch?v=3SDPTafEM8o
And if you find any issues that are related to any 3rd Party plugin(s), I would suggest you contact the author in that case.

Thanks

I get the same error and no page load no matter what page I try to lead in the dashboard. Unless I go and rename the MEC folder first. I enabled only the MEC plugin and still could not get into the admin side.

With debug enabled I see this on the front end:

Warning : call_user_func_array() expects parameter 1 to be a valid callback, function ‘my_custom_header_meta’ not found or invalid function name in …/wp-includes/class-wp-hook.php on line 287

Hi @threeoten,

There could be a plugin or custom code that affects your Modern Events Calendar plugin and we can’t test it properly because we are afraid we might be able to break the layout or performance of your live website. I suggest that you copy your website into a staging area so that we can debug more about your issue. Then give us all the details of your staging area in a secure note.

  • WordPress Staging URL
  • WordPress Staging Admin username/password
  • FTP Access

Let us know how it goes.

Thank you.

Staging site is up

Hi @threeoten,

I tried to debug your staging area but I couldn’t find the culprit why when the Modern Events Calendar plugin is activated it caused an issue on the plugin page. I already disabled all the plugins except the Modern Events Calendar, change the theme to default twenty-twenty, and deleting/reinstalling the plugin but no luck. I suggest that you fix some of your site health issues, see the secure note for the link maybe it will fix your issue.

Hope that helps.

Thank you.

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