Title: PHP Fatal Error Undefined Method
Last modified: January 2, 2019

---

# PHP Fatal Error Undefined Method

 *  Resolved [bjuwebteam](https://wordpress.org/support/users/bjuwebteam/)
 * (@bjuwebteam)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-undefined-method/)
 * I am running into errors both on the public/front end of the website, and on 
   the admin/back end. Here’s an example error from the logs:
 * PHP Fatal error: Uncaught Error: Call to undefined method GridGalleryPro_Galleries_Model_Tags::
   getByPhotoIds() in /SITENAME/wp-content/plugins/gallery-by-supsystic/src/GridGallery/
   Photos/Model/Photos.php:521\nStack trace:\n#0 /SITENAME/wp-content/plugins/gallery-
   by-supsystic/src/GridGallery/Photos/Model/Photos.php(465): GridGallery_Photos_Model_Photos-
   >preExtend(Array, Array)\n#1 /SITENAME/wp-content/plugins/supsystic-gallery-pro/
   src/GridGalleryPro/Galleries/Model/Galleries.php(55): GridGallery_Photos_Model_Photos-
   >getPhotos(Array)\n#2 /SITENAME/wp-content/plugins/gallery-by-supsystic/src/GridGallery/
   Galleries/Model/Galleries.php(45): GridGalleryPro_Galleries_Model_Galleries->
   extend(Object(stdClass), Array)\n#3 /SITENAME/wp-content/plugins/supsystic-gallery-
   pro/src/GridGalleryPro/Galleries/Controller.php(422): GridGallery_Galleries_Model_Galleries-
   >getById(9)\n#4 /SITENAME/wp-content/plugins/supsystic-gallery-pro/src/GridGalleryPro
   in /SITENAME/wp-content/plugins/gallery-by-supsystic/src/GridGallery/Photos/Model/
   Photos.php on line 521
 * I am running WordPress 4.9.9, Photo Gallery 1.12.8 and Photo Gallery PRO 2.7.1.
   I believe this may be related to the error reported here: [https://supsystic.com/topic/gallery-fatal-error-problem/](https://supsystic.com/topic/gallery-fatal-error-problem/)
   Any help appreciated. Thank you!

Viewing 1 replies (of 1 total)

 *  Thread Starter [bjuwebteam](https://wordpress.org/support/users/bjuwebteam/)
 * (@bjuwebteam)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-undefined-method/#post-11045354)
 * After updating Photo Gallery PRO to 2.7.3 the issue seems to have resolved itself.

Viewing 1 replies (of 1 total)

The topic ‘PHP Fatal Error Undefined Method’ is closed to new replies.

 * ![](https://ps.w.org/gallery-by-supsystic/assets/icon-256x256.png?rev=1684313)
 * [Photo Gallery - Responsive Image Galleries by Supsystic](https://wordpress.org/plugins/gallery-by-supsystic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gallery-by-supsystic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gallery-by-supsystic/)
 * [Active Topics](https://wordpress.org/support/plugin/gallery-by-supsystic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gallery-by-supsystic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gallery-by-supsystic/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [bjuwebteam](https://wordpress.org/support/users/bjuwebteam/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-undefined-method/#post-11045354)
 * Status: resolved