Title: Undefined variable: post
Last modified: August 21, 2016

---

# Undefined variable: post

 *  [Michael Dozark](https://wordpress.org/support/users/michaeldozark/)
 * (@michaeldozark)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/undefined-variable-post/)
 * Plugin throws the following error:
 *     ```
       Notice: Undefined variable: post in /{wordpress path}/wp-content/plugins/the-viddler-wordpress-plugin/viddlercomments.php on line 172 Notice: Trying to get property of non-object in /{wordpress path}/wp-content/plugins/the-viddler-wordpress-plugin/viddlercomments.php on line 172
       ```
   
 * Issue adding “$post” to the global declarations on line 169 like so:
 *     ```
       global $viddler_player_type_posts, $viddler_download_source, $post;
       ```
   
 * [http://wordpress.org/extend/plugins/the-viddler-wordpress-plugin/](http://wordpress.org/extend/plugins/the-viddler-wordpress-plugin/)

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

 * ![](https://s.w.org/plugins/geopattern-icon/the-viddler-wordpress-plugin.svg)
 * [Viddler Wordpress plugin](https://wordpress.org/plugins/the-viddler-wordpress-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-viddler-wordpress-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-viddler-wordpress-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/the-viddler-wordpress-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-viddler-wordpress-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-viddler-wordpress-plugin/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Michael Dozark](https://wordpress.org/support/users/michaeldozark/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/undefined-variable-post/)
 * Status: not resolved