Title: Error when loading gallery view
Last modified: November 18, 2021

---

# Error when loading gallery view

 *  Resolved [bdow](https://wordpress.org/support/users/bdow/)
 * (@bdow)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-when-loading-gallery-view/)
 * Receiving error when loading the gallery view:
 * Trying to get property ‘id’ of non-object
 * wp-content/plugins/filebird/includes/Controller/Folder.php:607
 * I’ve patched this by placing is_null check on the $screen variable first…
 *  if( ! is_null($screen) && ‘attachment’ === $screen->id )
    return $form_fields;
 * Please fix!!

Viewing 1 replies (of 1 total)

 *  Plugin Support [Bruce](https://wordpress.org/support/users/ninjateamwp/)
 * (@ninjateamwp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-when-loading-gallery-view/#post-15082058)
 * Hi [@bdow](https://wordpress.org/support/users/bdow/) ,
 * Thanks for coming today!
    Can you please record a short screencast for us to 
   see exactly how you arrive at that error?
 * So that we can check and fix it properly!
 * Kind regards,
    -Bruce-

Viewing 1 replies (of 1 total)

The topic ‘Error when loading gallery view’ is closed to new replies.

 * ![](https://ps.w.org/filebird/assets/icon-128x128.gif?rev=2299145)
 * [FileBird - WordPress Media Library Folders & File Manager](https://wordpress.org/plugins/filebird/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/filebird/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/filebird/)
 * [Active Topics](https://wordpress.org/support/plugin/filebird/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/filebird/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/filebird/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bruce](https://wordpress.org/support/users/ninjateamwp/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/error-when-loading-gallery-view/#post-15082058)
 * Status: resolved