插件激活后,媒体库列表模式下显示不了了
-
发现此插件激活后,media媒体库在list列表模式下显示不全图片了(虽然在grid模式下可以显示),有的操作还是需要列表模式的。应该怎么解决呢?
Debug显示:
debug后,在媒体库列表模式下,显示如下错误:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function WPJAM_Post_List_Table::manage_media_custom_column(), 1 passed in C:\Bitnami\wordpress-5.0.3-2\apps\wordpress\htdocs\wp-includes\class-wp-hook.php on line 288 and exactly 2 expected in C:\Bitnami\wordpress-5.0.3-2\apps\wordpress\htdocs\wp-content\plugins\wpjam-basic\admin\includes\class-wpjam-post-list-table.php:575 Stack trace: #0 C:\Bitnami\wordpress-5.0.3-2\apps\wordpress\htdocs\wp-includes\class-wp-hook.php(288): WPJAM_Post_List_Table->manage_media_custom_column(‘smushit’) #1 C:\Bitnami\wordpress-5.0.3-2\apps\wordpress\htdocs\wp-includes\class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 C:\Bitnami\wordpress-5.0.3-2\apps\wordpress\htdocs\wp-includes\plugin.php(465): WP_Hook->do_action(Array) #3 C:\Bitnami\wordpress-5.0.3-2\apps\wordpress\htdocs\wp-admin\includes\class-wp-media-list-table.php(610): do_action(‘manage_media_cu…’, ‘smushit’, 2533) #4 C:\Bitnami\wordpress-5.0.3-2\apps\wordpress\htdocs\wp-admin\includes\class-wp-list-table. in C:\Bitnami\wordpress-5.0.3-2\apps\wordpress\htdocs\wp-content\plugins\wpjam-basic\admin\includes\class-wpjam-post-list-table.php on line 575The page I need help with: [log in to see the link]
- The topic ‘插件激活后,媒体库列表模式下显示不了了’ is closed to new replies.