Title: PHP Errors after removing media
Last modified: March 10, 2018

---

# PHP Errors after removing media

 *  Resolved [scott1903](https://wordpress.org/support/users/scott1903/)
 * (@scott1903)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-errors-after-removing-media/)
 * I removed some images from my site then created a new gallery.
 * Now whenever I select Edit Gallery I get a page full of PHP errors.
    Notice: 
   Undefined index: galleryId in C:\wamp64\www\wordpress\wp-content\plugins\modula\
   Modula.php on line 920
 * ) Notice: Trying to get property of non-object in C:\wamp64\www\wordpress\wp-
   content\plugins\modula\lib\db-class.php on line 79
 * Warning: Creating default object from empty value in C:\wamp64\www\wordpress\
   wp-content\plugins\modula\lib\db-class.php on line 81
 * etc

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Macho Themes](https://wordpress.org/support/users/machothemes/)
 * (@machothemes)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-errors-after-removing-media/#post-10060993)
 * [@scott1903](https://wordpress.org/support/users/scott1903/) – could you please
   let us know what PHP version you’re using?
 *  Thread Starter [scott1903](https://wordpress.org/support/users/scott1903/)
 * (@scott1903)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-errors-after-removing-media/#post-10061708)
 * Hi. PHP version is 5.6.31.
 * My wordpress site is in development and is running on a local version of apache.
 *  [Miha](https://wordpress.org/support/users/mplusb/)
 * (@mplusb)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-errors-after-removing-media/#post-10064399)
 * Hello [@scott1903](https://wordpress.org/support/users/scott1903/),
 * Do you have the latest version of Modula or an older one?
    Did you click on the‘
   Edit gallery’ button that is under Modula in your dashboard? Please rest assured,
   we will get to the bottom of this.
 * All the best,
    Mihaela
 *  Thread Starter [scott1903](https://wordpress.org/support/users/scott1903/)
 * (@scott1903)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-errors-after-removing-media/#post-10074652)
 * Hi,
 * Looking in the changelog it is 1.3.0. I purchased it from wp-modula just a few
   days ago.
 * I get the problem when click on the Edit button that appears on the drop down
   menu when I hover on the Modula button.
 * Regards,
    Scott
 *  [Miha](https://wordpress.org/support/users/mplusb/)
 * (@mplusb)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-errors-after-removing-media/#post-10079588)
 * Hello Scott,
 * I apologize for the delayed response! Thank you for explaining!
    This happens
   because when you click on that button it does not know which gallery to edit.
   To edit a gallery you will have to click directly on Modula from the drop down
   menu when you hover on the Modula button and then you will see the list with 
   your galleries and edit them from there.
 * I have created a ticket with our development team so they can remove that option
   from the menu as it is confusing for users.
 * Thank you for your patience,
    Mihaela

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP Errors after removing media’ is closed to new replies.

 * ![](https://ps.w.org/modula-best-grid-gallery/assets/icon-256x256.png?rev=3095828)
 * [Modula Image Gallery - Photo Grid & Video Gallery](https://wordpress.org/plugins/modula-best-grid-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/modula-best-grid-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/modula-best-grid-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/modula-best-grid-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/modula-best-grid-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/modula-best-grid-gallery/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Miha](https://wordpress.org/support/users/mplusb/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/php-errors-after-removing-media/#post-10079588)
 * Status: resolved