Support

Home Forums Event Espresso Premium Can't Access WordPress Admin Site after Upgrading Event Espresso

Can't Access WordPress Admin Site after Upgrading Event Espresso

Posted: August 23, 2016 at 5:13 pm


Events FSKLAW

August 23, 2016 at 5:13 pm

I just upgraded Event Espresso from EE3 to EE4. After I uploaded the zip file and clicked “Activate” for EE4, I am unable to access the admin part of my WordPress site.


Events FSKLAW

August 23, 2016 at 5:23 pm

To clarify, I am able to get to the login screen for the WordPress Admnin site, but I after I enter my login information, I get this message “The page isn’t redirecting properly.” I’ve tried both Firefox and Internet Explorer.


Tony

  • Support Staff

August 24, 2016 at 4:41 am

Hi there,

Can you load either of these pages?

/wp-admin/admin.php?page=espresso_about
and
/wp-admin/admin.php?page=espresso_maintenance_settings

You will need to add your domain to the beginning of those URL’s.


Events FSKLAW

August 24, 2016 at 9:34 am

No, I can’t get to either of those pages. When I do, I get this message “You do not have access to this route.”


Josh

  • Support Staff

August 24, 2016 at 9:51 am

Can you load this page?

yoursite.com/wp-admin/index.php


Events FSKLAW

August 24, 2016 at 10:11 am

Yes, that takes me to the admin login screen. When I try logging in though, it just stays at that page with the wheel spinning at the top saying “Waiting…”


Josh

  • Support Staff

August 24, 2016 at 10:25 am

What you’ll need to do is FTP into the server, rename the wp-content/plugins folder. Then you’ll be able to log in. Then, you can restore the plugins folder name (so it’s plugins) again. Then you can start to troubleshoot. First, you activate EE4. If everything works at that point, then you can activate other plugins one-by-one until you find what’s causing the issue you’re seeing.


Events FSKLAW

August 25, 2016 at 10:51 am

I was able to get back into my admin page after renaming the plugins folder. However, every time I try to activate EE4, I get kicked out again with the original message “The page isn’t redirecting properly.” The only plugin I added so far was the “Event Espresso 4 Core Regular v4.9.9.p.” Do I need anything else to make it work? I’m currently running WordPress 4.6.


Josh

  • Support Staff

August 25, 2016 at 11:23 am

Normally you should not need to do anything else, but for some reason there appears to be some trouble with redirects on your site. In which case you can add the following to a plugin:

// stop redirect to about page after update
add_action( 'init', 'jf_ee_remove_about_ee_redirect', 4 );
function jf_ee_remove_about_ee_redirect() {
    if ( class_exists( 'EE_System' )){
        $system = EE_System::instance();
        remove_action( 'AHEE__EE_System__load_CPTs_and_session__start', array( $system, 'redirect_to_about_ee' ), 9 );  
    }
}

You can add the above to a functions plugin, install, then activate.


Events FSKLAW

August 25, 2016 at 12:27 pm

When I added that above code in, I was able to activate EE. But now I’m getting this error message “The Event Espresso critical page shortcode for the Registration Cancelled page could not be configured properly.” Also I was able to activate EE 4.9.8, but when I tried to update to 4.9.9, the same thing happened as before when get I kicked out with the original message “The page isn’t redirecting properly.”


Events FSKLAW

August 25, 2016 at 12:28 pm

Also when I try to logout of the admin dashboard, I get this message “Catchable fatal error: Argument 1 passed to EE_System::__construct() must be an instance of EE_Registry, null given, called in /home/wp_y3cz7s/fskhrtraining.com/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php on line 94 and defined in /home/wp_y3cz7s/fskhrtraining.com/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php on line 128”


Josh

  • Support Staff

August 25, 2016 at 3:01 pm

Did you add the code to a separate plugin?


Events FSKLAW

August 25, 2016 at 3:24 pm

I tried creating a separate plugin, but I kept getting the same message. So then I added it to the functions.php file and then I was able to activate EE 4.9.8.


Josh

  • Support Staff

August 25, 2016 at 4:00 pm

Is this happening on an Apache server or is it running another type of server software?

Someone from EE staff can investigate further if it’s an Apache server, and if you can include FTP credentials via the form on this page:

https://eventespresso.com/send-login-details/


Events FSKLAW

August 25, 2016 at 5:47 pm

I just submitted the FTP credentials on that form.

The support post ‘Can't Access WordPress Admin Site after Upgrading Event Espresso’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso