Fatal Error – Media Library Empty
-
I logged in to a client site this morning after they reported having trouble uploading an image. I discovered the media library completely empty and the following error message displaying:
Fatal error: Uncaught Error: Cannot use object of type DeliciousBrains\WP_Offload_Media\Items\Media_Library_Item as array in /home/rjmmedia/public_html/adamsleclair/wp-includes/media.php:217 Stack trace: #0 /home/rjmmedia/public_html/adamsleclair/wp-includes/media.php(932): image_downsize(3897, Array) #1 /home/rjmmedia/public_html/adamsleclair/wp-includes/media.php(985): wp_get_attachment_image_src(3897, Array, true) #2 /home/rjmmedia/public_html/adamsleclair/wp-admin/includes/class-wp-media-list-table.php(380): wp_get_attachment_image(3897, Array, true, Array) #3 /home/rjmmedia/public_html/adamsleclair/wp-admin/includes/class-wp-list-table.php(1353): WP_Media_List_Table->column_title(Object(WP_Post)) #4 /home/rjmmedia/public_html/adamsleclair/wp-admin/includes/class-wp-media-list-table.php(637): WP_List_Table->single_row_columns(Object(WP_Post)) #5 /home/rjmmedia/public_html/adamsleclair/wp-admin/includes/class-wp-list-table.php(1270): WP_Media_List_Table->display_rows() #6 /home/rjmmedia/public_html/adamsleclair/wp-admi in /home/rjmmedia/public_html/adamsleclair/wp-includes/media.php on line 217Both the plugin and WordPress are at their latest versions.
- The topic ‘Fatal Error – Media Library Empty’ is closed to new replies.