WordPress.org

Support

Support » Plugins and Hacks » Undefined variable: post

Undefined variable: post

  • Michael Dozark
    Member

    @michaeldozark

    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/

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