Title: Undefined variable $auth_id
Last modified: February 5, 2023

---

# Undefined variable $auth_id

 *  [manu.p](https://wordpress.org/support/users/manup-1/)
 * (@manup-1)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-auth_id/)
 * Hi, this plugin is what I’m looking for. But here’s what is displayed when I 
   get into a post:
 * > **Warning**: Undefined variable $auth_id in **/…/wp-content/plugins/current-
   > post/includes/current-post-functions.php** on line **667**
 * I’m afraid I can’t let the plugin active very long with such an error message…
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-variable-auth_id%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [manu.p](https://wordpress.org/support/users/manup-1/)
 * (@manup-1)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-auth_id/#post-16441665)
 * Hi again, since I’m using just one author, with ID 2, I added the following line
   in current-post/includes/current-post-functions.php at ligne 649:
 * > $auth_id = 2;
 * Not a solution, just a workaround while you’re investigating and solve this issue.
 *  Thread Starter [manu.p](https://wordpress.org/support/users/manup-1/)
 * (@manup-1)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-auth_id/#post-16464672)
 * Same bug as of 1.0.39 today.
 * I wonder if someone reads this support page.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Undefined variable $auth_id’ is closed to new replies.

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

 * 2 replies
 * 1 participant
 * Last reply from: [manu.p](https://wordpress.org/support/users/manup-1/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-auth_id/#post-16464672)
 * Status: not resolved