WordPress.org

Ready to get started?Download WordPress

Forums

JW Player for Flash & HTML5 Video
Plugin throws error in debug mode (12 posts)

  1. maxwelton
    Member
    Posted 11 months ago #

    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/

  2. JW Player
    Member
    Plugin Author

    Posted 11 months ago #

    Interesting, I will pass this along, thank you!

  3. maxwelton
    Member
    Posted 11 months ago #

    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
  4. JW Player
    Member
    Plugin Author

    Posted 11 months ago #

    Np, thank you.

  5. fitforrockin
    Member
    Posted 9 months ago #

    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 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

  6. JW Player
    Member
    Plugin Author

    Posted 9 months ago #

    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.

  7. Wolfenstein
    Member
    Posted 1 month ago #

    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

  8. JW Player
    Member
    Plugin Author

    Posted 1 month ago #

    On what page do you get these errors?

  9. WebSight Designs
    Member
    Posted 1 month ago #

    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).

  10. JW Player
    Member
    Plugin Author

    Posted 1 month ago #

    Please email support [at] jwplayer [dot] com with a link that we can check to view the issue.

  11. Padaben
    Member
    Posted 1 week ago #

    Hi, Just activating the plugin.
    so much errors !!!
    it's a Pity
    Hope you're gonna fix it soon and release a version.
    cheers

  12. JW Player
    Member
    Plugin Author

    Posted 1 week ago #

    Please send an email to:

    support

    at

    jwplayer

    dot

    com

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.