- This topic has 3 replies, 2 voices, and was last updated 9 years, 7 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The topic ‘Fatal error on reactivation’ is closed to new replies.
Hello Syam,
I’m still testing and working through options on the plugin, and I had to deactivate it in testing something else. Upon attempting to reactivate, I get the following error, which shuts down the entire site. Once I move the plugin via ftp, the site comes back, but of course I can’t activate the plugin.
Fatal error: Call to undefined function is_user_logged_in() in /home/ … /public_html/…URL…/wp-content/plugins/wpfront-user-role-editor-personal-pro/classes/personal-pro/class-wpfront-user-role-editor-custom-post-types.php on line 86
Any guidance? Thanks so much.
I wanted to update this after working on it this afternoon. I deactivated ALL plugins, and activated WPF *first* and it activated fine, no error.
I then re-activated ALL of the remaining plugins (via bulk) and then it threw the fatal error again, locked up the site and I had to remove WPF via ftp.
I then deactivated all plugins, activated WPF first, and then activated ALL of the other plugins *one at a time* and they all reactivated, with no fatal error with WPF still active.
That is really strange. It must have been something to do with the order they were activated in maybe? If you have any ideas, I’d like to hear them.
Unless it happens again, or unless you can replicate, I guess this isn’t really an issue.
Hi Mitch,
Can you try bulk activating with excluding one plugin at a time? So we might be able to find the conflicting plugin.
Thanks
Syam
Well, normally I’d say sure… but I have 118 (!!) active plugins on this sandbox site. That might take way too long to do it that way. I’ll see if I can do it in blocks of 10 or so to try and target the problem and let you know.