Title: missing wp101_icon_url error
Last modified: August 21, 2016

---

# missing wp101_icon_url error

 *  Resolved [Ruud Laan](https://wordpress.org/support/users/ruudjoyo/)
 * (@ruudjoyo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/missing-wp101_icon_url-error/)
 * Hi Shawn,
 * Found this little bug in your latest version, thought you might like a patch 
   for it:
 * Index: htdocs/wp-content/plugins/wp101/wp101.php
    ===========================
   ======================================== — htdocs/wp-content/plugins/wp101/wp101.
   php (revision 824616) +++ htdocs/wp-content/plugins/wp101/wp101.php (working 
   copy) @@ -45,7 +45,7 @@
 *     ```
       }
   
        	public function admin_menu() {
       -		$hook = add_menu_page( _x( 'WP101', 'page title', 'wp101' ), _x( 'Video Tutorials', 'menu title', 'wp101' ), 'read', 'wp101', array( $this, 'render_listing_page' ), $wp101_icon_url );
       +		$hook = add_menu_page( _x( 'WP101', 'page title', 'wp101' ), _x( 'Video Tutorials', 'menu title', 'wp101' ), 'read', 'wp101', array( $this, 'render_listing_page' ) );
        		add_action( "load-{$hook}", array( $this, 'load' ) );
        	}
       ```
   
 * _[Moderator Note: Please post code & markup between backticks or use the code
   button. Your posted code may now have been permanently damaged by the forum’s
   parser.]_
 * [http://wordpress.org/plugins/wp101/](http://wordpress.org/plugins/wp101/)

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

 *  [milican](https://wordpress.org/support/users/milican/)
 * (@milican)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/missing-wp101_icon_url-error/#post-4426088)
 * I found the same bug. The Debug Bar plugin with WP_DEBUG variable set to true
   is telling me there is an error here:
 * /wp-content/plugins/wp101/wp101.php on line 48
 *  Plugin Contributor [Shawn Hesketh](https://wordpress.org/support/users/shawndh/)
 * (@shawndh)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/missing-wp101_icon_url-error/#post-4426113)
 * Hey, thanks for reporting this, guys. Version 2.1.1 just pushed should resolve
   this issue. Can you please confirm?
 * Thanks again!
 *  Thread Starter [Ruud Laan](https://wordpress.org/support/users/ruudjoyo/)
 * (@ruudjoyo)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/missing-wp101_icon_url-error/#post-4426114)
 * Hi Shawn,
 * I can confirm it works for me 🙂

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

The topic ‘missing wp101_icon_url error’ is closed to new replies.

 * ![](https://ps.w.org/wp101/assets/icon-256x256.jpg?rev=2204738)
 * [WP101 Video Tutorial Plugin](https://wordpress.org/plugins/wp101/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp101/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp101/)
 * [Active Topics](https://wordpress.org/support/plugin/wp101/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp101/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp101/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Ruud Laan](https://wordpress.org/support/users/ruudjoyo/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/missing-wp101_icon_url-error/#post-4426114)
 * Status: resolved