Title: undefined `$post` variable
Last modified: August 20, 2016

---

# undefined `$post` variable

 *  [adamnbowen](https://wordpress.org/support/users/adamnbowen/)
 * (@adamnbowen)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/undefined-post-variable/)
 * I was getting a couple of errors in the admin from line 181 of multiedit.php,
   since `$post` was undefined. I corrected this by putting `global $post;` on line
   155 just after `function drawMultieditHTML($meta,$presentregions) {`
 * I don’t see any way to contribute to this project, so I’m just posting the change
   here.

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

 *  Plugin Author [joshua strebel](https://wordpress.org/support/users/joshuastrebel/)
 * (@joshuastrebel)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/undefined-post-variable/#post-2263562)
 * thanks, every few months i crawl this topic and add into the next release good
   suggestions like yours. I also try to credit as you may see from the changelog.
 *  Thread Starter [adamnbowen](https://wordpress.org/support/users/adamnbowen/)
 * (@adamnbowen)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/undefined-post-variable/#post-2263563)
 * Coolness, I was just wondering about this yesterday 😉
 *  Plugin Author [joshua strebel](https://wordpress.org/support/users/joshuastrebel/)
 * (@joshuastrebel)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/undefined-post-variable/#post-2263575)
 * Solved in update for 3.3

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

The topic ‘undefined `$post` variable’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [joshua strebel](https://wordpress.org/support/users/joshuastrebel/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/undefined-post-variable/#post-2263575)
 * Status: not resolved