Page 1 of 1

Fatal error:Call to undefined function wp_get_current_user()

PostPosted: June 3rd, 2011, 4:56 am
by carblanco
Hi,

Every time I've activated s2member plugin I've get this error:
Fatal error: Call to undefined function wp_get_current_user() in /.../wp-includes/capabilities.php on line 1028
Why? How can I solve it?

I'm using WP 3.1.3 and a custom theme.

Thanks.

Re: Fatal error:Call to undefined function wp_get_current_us

PostPosted: June 3rd, 2011, 12:18 pm
by Cristián Lávaque
It's probably caused by an incomplete WordPress upgrade. Try re-uploading everything manually via FTP https://codex.wordpress.org/Updating_Wo ... ual_Update

Re: Fatal error:Call to undefined function wp_get_current_us

PostPosted: June 4th, 2011, 3:34 am
by carblanco
Found the cause: the Simple Facebook / Twitter Connect plugin.
Thanks.

Re: Fatal error:Call to undefined function wp_get_current_us

PostPosted: June 4th, 2011, 9:43 am
by Cristián Lávaque
Great! Thanks for letting us know.