Title: Default Gallery Type Template ERROR
Last modified: August 21, 2016

---

# Default Gallery Type Template ERROR

 *  [Nima](https://wordpress.org/support/users/mrgoodfox/)
 * (@mrgoodfox)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/default-gallery-type-template-error-2/)
 * Im getting this error in my Gallery. How do i fix it?
 * Warning: Attempt to assign property of non-object in /usr/home/heydarian/public_html/
   lawmaks.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/
   datamapper/class.datamapper_model.php on line 66
 * Warning: Attempt to assign property of non-object in /usr/home/PATH/wp-content/
   plugins/nextgen-gallery/products/photocrati_nextgen/modules/datamapper/class.
   datamapper_model.php on line 66
    Default Gallery Type Template
 * This is the default gallery type template, located in:
    /usr/home/PATH/wp-content/
   plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/
   templates/index.php.
 * If you’re seeing this, it’s because the gallery type you selected has not provided
   a template of it’s own.
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

The topic ‘Default Gallery Type Template ERROR’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Nima](https://wordpress.org/support/users/mrgoodfox/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/default-gallery-type-template-error-2/)
 * Status: not resolved