Title: PHP Warning: Undefined variable $user
Last modified: February 13, 2026

---

# PHP Warning: Undefined variable $user

 *  [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [4 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-user/)
 * Hi,
 * Any help to fix this warning?
 * [13-Feb-2026 15:36:57 UTC] PHP Warning: Undefined variable $user in /home/wp-
   content/plugins/captcha-them-all/captcha-them-all.php on line 162
 * Thank you

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-undefined-variable-user%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/captcha-them-all/assets/icon-128x128.png?rev=1628226)
 * [Captcha Them All](https://wordpress.org/plugins/captcha-them-all/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/captcha-them-all/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/captcha-them-all/)
 * [Active Topics](https://wordpress.org/support/plugin/captcha-them-all/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/captcha-them-all/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/captcha-them-all/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [dimal](https://wordpress.org/support/users/dimalifragis/)
 * Last activity: [4 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-user/)
 * Status: not resolved