Support » Plugin: WP-PostViews » Bug in 1.76

  • Resolved Rocco Marco Guglielmi

    (@roccomarco)


    Latest changes have introduced a but in the sorting action of wp-list-table class for the “Views” column.

    To reproduce: install 1.76 and go in a post list. You will receive these warnings:
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘sort_postviews_column ‘ not found or invalid function name in /home/playembe/public_html/blog/wp-includes/class-wp-hook.php on line 286

    Warning: Invalid argument supplied for foreach() in /home/playembe/public_html/blog/wp-admin/includes/class-wp-list-table.php on line 967

    plus the view column would not be sortable.

    I have restored 1.75 as a workaround.

Viewing 4 replies - 1 through 4 (of 4 total)
  • etnz

    (@etnz)

    I have exactly the same problem with this message :

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'sort_postviews_column ' not found or invalid function name in /wp/wp-includes/class-wp-hook.php on line 286
    
    Warning: Invalid argument supplied for foreach() in wp/wp-admin/includes/class-wp-list-table.php on line 967

    Is there another option that to restored 1.75 ?

    Thanks,

    A bug fix

    Plugin Author Lester Chan

    (@gamerz)

    Thanks fixed in 1.76.1

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bug in 1.76’ is closed to new replies.