Title: Plugin throws error in debug mode
Last modified: August 21, 2016

---

# Plugin throws error in debug mode

 *  [maxwelton](https://wordpress.org/support/users/maxwelton/)
 * (@maxwelton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/plugin-throws-error-in-debug-mode/)
 * `Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback,
   non-static method JWP6_Media::url_attachment_filter() should not be called statically
   in \wp-includes\plugin.php on line 199`
 * Line 241 of jwp6-class-media.php:
 * `function url_attachment_filter($url, $id) {`
 * I think this should be:
 * `public static function url_attachment_filter($url, $id) {`
 * The error was appearing in the media library, when trying to display the thumbnails.
   I changed the plugin’s code as above and the error went away.
 * [https://wordpress.org/plugins/jw-player-plugin-for-wordpress/](https://wordpress.org/plugins/jw-player-plugin-for-wordpress/)

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

 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/plugin-throws-error-in-debug-mode/#post-4719923)
 * Interesting, I will pass this along, thank you!
 *  Thread Starter [maxwelton](https://wordpress.org/support/users/maxwelton/)
 * (@maxwelton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/plugin-throws-error-in-debug-mode/#post-4720025)
 * Thanks. Just found a few more…on the player management admin screen:
 *     ```
       Strict Standards: Declaration of JWP6_Form_Field_Uneditable::validate() should be compatible with JWP6_Form_Field::validate($post_data) in \wp-content\plugins\jw-player-plugin-for-wordpress\jwp6\jwp6-class-form-field.php on line 128 
   
       Strict Standards: Declaration of JWP6_Form_Field_Select::render_field() should be compatible with JWP6_Form_Field::render_field($value = NULL) in \wp-content\plugins\jw-player-plugin-for-wordpress\jwp6\jwp6-class-form-field.php on line 171 
   
       Strict Standards: Declaration of JWP6_Form_Field_Radio::render_field() should be compatible with JWP6_Form_Field::render_field($value = NULL) in \wp-content\plugins\jw-player-plugin-for-wordpress\jwp6\jwp6-class-form-field.php on line 221 
   
       Strict Standards: Declaration of JWP6_Form_Field_Toggle::render_field() should be compatible with JWP6_Form_Field::render_field($value = NULL) in \wp-content\plugins\jw-player-plugin-for-wordpress\jwp6\jwp6-class-form-field.php on line 243 
   
       Strict Standards: Declaration of JWP6_Admin_Page_Players::process_post_data() should be compatible with JWP6_Admin_Page::process_post_data($post_data, $save_to_option = true) in \wp-content\plugins\jw-player-plugin-for-wordpress\jwp6\jwp6-class-admin-page-players.php on line 627
       ```
   
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/plugin-throws-error-in-debug-mode/#post-4720038)
 * Np, thank you.
 *  [fitforrockin](https://wordpress.org/support/users/fitforrockin/)
 * (@fitforrockin)
 * [12 years ago](https://wordpress.org/support/topic/plugin-throws-error-in-debug-mode/#post-4720301)
 * Please help!!!! Maxwelton I have been searching all day on forums and leaving
   posts to find this problem. When I upgraded to 3.9.1 the same thing happened 
   to me with the jwplayer. No one has been able to help me so far. My website [http://www.fitforrockin.com](http://www.fitforrockin.com)
   has mostly videos so I am stuck until I can find the answer. Were you able to
   fix the problem?
    My player management admin screen also reads: Strict Standards:
   Declaration of JWP6_Form_Field_Uneditable::validate() should be compatible with
   JWP6_Form_Field::validate($post_data) in /home1/scheyka/public_html/wp-content/
   plugins/jw-player-plugin-for-wordpress/jwp6/jwp6-class-form-field.php on line
   128
 * Strict Standards: Declaration of JWP6_Form_Field_Select::render_field() should
   be compatible with JWP6_Form_Field::render_field($value = NULL) in /home1/scheyka/
   public_html/wp-content/plugins/jw-player-plugin-for-wordpress/jwp6/jwp6-class-
   form-field.php on line 171
 * Strict Standards: Declaration of JWP6_Form_Field_Radio::render_field() should
   be compatible with JWP6_Form_Field::render_field($value = NULL) in /home1/scheyka/
   public_html/wp-content/plugins/jw-player-plugin-for-wordpress/jwp6/jwp6-class-
   form-field.php on line 221
 * Strict Standards: Declaration of JWP6_Form_Field_Toggle::render_field() should
   be compatible with JWP6_Form_Field::render_field($value = NULL) in /home1/scheyka/
   public_html/wp-content/plugins/jw-player-plugin-for-wordpress/jwp6/jwp6-class-
   form-field.php on line 243
 * Strict Standards: Declaration of JWP6_Admin_Page_Players::process_post_data()
   should be compatible with JWP6_Admin_Page::process_post_data($post_data, $save_to_option
   = true) in /home1/scheyka/public_html/wp-content/plugins/jw-player-plugin-for-
   wordpress/jwp6/jwp6-class-admin-page-players.php on line 627
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [12 years ago](https://wordpress.org/support/topic/plugin-throws-error-in-debug-mode/#post-4720302)
 * Yes, I passed this along to the developer of the plugin that the update to WP
   3.9.1 has created an issue in the plugin’s media manager.
 *  [Wolfenstein](https://wordpress.org/support/users/wolfenstein/)
 * (@wolfenstein)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/plugin-throws-error-in-debug-mode/#post-4720314)
 * Version 2.1.9 WordPress version 4.1
 * Strict Standards: Declaration of JWP6_Form_Field_Uneditable::validate() should
   be compatible with that of JWP6_Form_Field::validate() in /home/content/68/9755368/
   html/MoviePalaceTheater/wp-content/plugins/jw-player-plugin-for-wordpress/jwp6/
   jwp6-class-form-field.php on line 128
 * Strict Standards: Declaration of JWP6_Form_Field_Select::render_field() should
   be compatible with that of JWP6_Form_Field::render_field() in /home/content/68/
   9755368/html/MoviePalaceTheater/wp-content/plugins/jw-player-plugin-for-wordpress/
   jwp6/jwp6-class-form-field.php on line 171
 * Strict Standards: Declaration of JWP6_Form_Field_Radio::render_field() should
   be compatible with that of JWP6_Form_Field::render_field() in /home/content/68/
   9755368/html/MoviePalaceTheater/wp-content/plugins/jw-player-plugin-for-wordpress/
   jwp6/jwp6-class-form-field.php on line 221
 * Strict Standards: Declaration of JWP6_Form_Field_Toggle::render_field() should
   be compatible with that of JWP6_Form_Field::render_field() in /home/content/68/
   9755368/html/MoviePalaceTheater/wp-content/plugins/jw-player-plugin-for-wordpress/
   jwp6/jwp6-class-form-field.php on line 243
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/plugin-throws-error-in-debug-mode/#post-4720315)
 * On what page do you get these errors?
 *  [WebSight Designs](https://wordpress.org/support/users/websightdesigns/)
 * (@websightdesigns)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/plugin-throws-error-in-debug-mode/#post-4720319)
 * Hello,
 * `[26-Jan-2015 18:11:28 UTC] PHP Strict Standards: call_user_func_array() expects
   parameter 1 to be a valid callback, non-static method JWP6_Media::url_attachment_filter()
   should not be called statically in /path/to/wordpress/wp-includes/plugin.php 
   on line 192`
 * I too see these errors, whenever I visit a page in the WP-Admin (any page at 
   all).
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/plugin-throws-error-in-debug-mode/#post-4720320)
 * Please email support [at] jwplayer [dot] com with a link that we can check to
   view the issue.
 *  [Padaben](https://wordpress.org/support/users/padaben/)
 * (@padaben)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/plugin-throws-error-in-debug-mode/#post-4720321)
 * Hi, Just activating the plugin.
    so much errors !!! it’s a Pity Hope you’re gonna
   fix it soon and release a version. cheers
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/plugin-throws-error-in-debug-mode/#post-4720322)
 * Please send an email to:
 * support
 * at
 * jwplayer
 * dot
 * com

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

The topic ‘Plugin throws error in debug mode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jw-player-plugin-for-wordpress_ffffff.
   svg)
 * [JW Player for Flash & HTML5 Video](https://wordpress.org/plugins/jw-player-plugin-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jw-player-plugin-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jw-player-plugin-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/jw-player-plugin-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jw-player-plugin-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jw-player-plugin-for-wordpress/reviews/)

 * 11 replies
 * 6 participants
 * Last reply from: [JW Player](https://wordpress.org/support/users/longtail-video/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/plugin-throws-error-in-debug-mode/#post-4720322)
 * Status: not resolved