Title: Plugin broken, calls undefined function
Last modified: August 21, 2016

---

# Plugin broken, calls undefined function

 *  [brstefanp](https://wordpress.org/support/users/brstefanp/)
 * (@brstefanp)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-broken-calls-undefined-function/)
 * When I change the setting whether users need to be logged in to report comments,
   the whole WP installation breaks with error message:
 * Fatal error: Call to undefined function is_user_logged_in() in /home/scase/public_html/
   wordpress/wp-content/plugins/reportcomments/reportcomments.php on line 49
 * I assume this may be the cause: [http://stackoverflow.com/questions/6127559/wordpress-plugin-call-to-undefined-function-wp-get-current-user](http://stackoverflow.com/questions/6127559/wordpress-plugin-call-to-undefined-function-wp-get-current-user)
 * [https://wordpress.org/plugins/reportcomments/](https://wordpress.org/plugins/reportcomments/)

The topic ‘Plugin broken, calls undefined function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/reportcomments.svg)
 * [Report Comments](https://wordpress.org/plugins/reportcomments/)
 * [Support Threads](https://wordpress.org/support/plugin/reportcomments/)
 * [Active Topics](https://wordpress.org/support/plugin/reportcomments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reportcomments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reportcomments/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [brstefanp](https://wordpress.org/support/users/brstefanp/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-broken-calls-undefined-function/)
 * Status: not resolved