Title: FooGallery PHP error &#8211; Internal server error 500
Last modified: November 12, 2020

---

# FooGallery PHP error – Internal server error 500

 *  Resolved [sirwin098](https://wordpress.org/support/users/sirwin098/)
 * (@sirwin098)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/foogallery-php-error-internal-server-error-500/)
 * Hi, I am recieving 3 errors related to FooGallery which seem to be causing the
   website to throw an interal errror 500, mainly when using the admin dashboard.
 * This will happen randomly when working on the dashboard and may bring the site
   down for 10-20mins at a time.
    I’ve tried deleting foogallery and re-installing
   as well as clearing the cache.
 * I recently updated to the latest version of wordpress so I am not sure whether
   this may have had an impact on FooGallery.
 * Error 1:
 * **Warning: Illegal string offset ‘crop’ in /home1/canducom/public_html/wp-content/
   plugins/foogallery/extensions/default-templates/image-viewer/class-image-viewer-
   gallery-template.php on line 293 **
 * Error 2:
 * **Warning: Illegal string offset ‘link’ in /home1/canducom/public_html/wp-content/
   plugins/foogallery/extensions/default-templates/image-viewer/class-image-viewer-
   gallery-template.php on line 295 **
 * Error 3:
 * **Warning: array_key_exists() expects parameter 2 to be array, string given in/
   home1/canducom/public_html/wp-content/plugins/foogallery/extensions/default-templates/
   image-viewer/class-image-viewer-gallery-template.php on line 292 **
 * I’m not sure how to fix this problem and any help would be greatly appreciated.
 * Thanks,
    Sé
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffoogallery-php-error-internal-server-error-500%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/foogallery-php-error-internal-server-error-500/#post-13655537)
 * hi [@sirwin098](https://wordpress.org/support/users/sirwin098/)
 * The errors you have listed are PHP warnings and are not fatal, meaning they will
   not cause any site downtime. Please can you check your logs for fatal PHP errors,
   as those will cause your site to error 500
 * Having said that, we will endeavor to fix those PHP warnings and release those
   fixes in the next update.
 *  Thread Starter [sirwin098](https://wordpress.org/support/users/sirwin098/)
 * (@sirwin098)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/foogallery-php-error-internal-server-error-500/#post-13655577)
 * Thanks for the quick reply [@bradvin](https://wordpress.org/support/users/bradvin/)
   and thanks for clearing that up.
 * I’ll have to do some more testing to see what the issue is.
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/foogallery-php-error-internal-server-error-500/#post-13655592)
 * ok cool
 * BTW I have found the 3 issues you mentioned and I have made sure they will no
   longer generate PHP warnings, so thanks for posting them.
 * This will be released in the next update.

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

The topic ‘FooGallery PHP error – Internal server error 500’ is closed to new replies.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel](https://wordpress.org/plugins/foogallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [bradvin](https://wordpress.org/support/users/bradvin/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/foogallery-php-error-internal-server-error-500/#post-13655592)
 * Status: resolved