Title: PHP Warning: Undefined variable $post
Last modified: August 7, 2023

---

# PHP Warning: Undefined variable $post

 *  [karenkisswp](https://wordpress.org/support/users/karenkisswpwebsites/)
 * (@karenkisswpwebsites)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-post/)
 * Hi,
 * We’re getting a lot of PHP warnings
 * PHP Warning: Undefined variable $post …..author-signature/mysignature.php on 
   line 87
    …../wp-content/plugins/author-signature/mysignature.php on line 87 …..
   wp-content/plugins/author-signature/mysignature.php on line 90
 * When I deactivate the plugin the website has a critical error because WP_Plugin_Template
   is not found and then the plugin reactivates itself.
 * How can this be sorted out?
    TIA, Karen
    -  This topic was modified 2 years, 9 months ago by [karenkisswp](https://wordpress.org/support/users/karenkisswpwebsites/).

The topic ‘PHP Warning: Undefined variable $post’ is closed to new replies.

 * ![](https://ps.w.org/author-signature/assets/icon-128x128.png?rev=1782585)
 * [Author Signature](https://wordpress.org/plugins/author-signature/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/author-signature/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/author-signature/)
 * [Active Topics](https://wordpress.org/support/plugin/author-signature/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/author-signature/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/author-signature/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [karenkisswp](https://wordpress.org/support/users/karenkisswpwebsites/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-post/)
 * Status: not resolved