Title: Internal Server Error requires commenting out lines to make it work
Last modified: July 7, 2017

---

# Internal Server Error requires commenting out lines to make it work

 *  [amatheson](https://wordpress.org/support/users/amatheson/)
 * (@amatheson)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/internal-server-error-requires-uninstall/)
 * Hi,
 * The plugin worked fine until today when I started seeing an Internal Server Error
   and the following logged to debug.log:
 * [07-Jul-2017 22:04:51 UTC] PHP Fatal error: Call to undefined function is_user_logged_in()
   in /server/user/www/wp-content/plugins/restrict-author-posting/restrict-author-
   posting.php on line 76
 * If I comment out lines 76 and 77 of ‘restrict-author-posting.php’, the error 
   goes away. Please take a look and let me know if there is anything else we should
   do.
 * Thanks.
    -  This topic was modified 8 years, 11 months ago by [amatheson](https://wordpress.org/support/users/amatheson/).
      Reason: clarified I could get it to work by commenting out lines

The topic ‘Internal Server Error requires commenting out lines to make it work’ 
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/restrict-author-posting_f2eec9.svg)
 * [Restrict Author Posting](https://wordpress.org/plugins/restrict-author-posting/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restrict-author-posting/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restrict-author-posting/)
 * [Active Topics](https://wordpress.org/support/plugin/restrict-author-posting/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restrict-author-posting/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restrict-author-posting/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [amatheson](https://wordpress.org/support/users/amatheson/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/internal-server-error-requires-uninstall/)
 * Status: not resolved