Title: PHP Error / Template?
Last modified: August 21, 2016

---

# PHP Error / Template?

 *  [wonderyak](https://wordpress.org/support/users/wonderyak/)
 * (@wonderyak)
 * [13 years ago](https://wordpress.org/support/topic/php-error-template/)
 * Getting the error ‘Warning: explode() expects parameter 2 to be string, array
   given in ../wp-content/plugins/file-gallery/includes/templating.php on line 636’
 * the pages I get the error on are using a custom post type and are using the simple
   gallery shortcode handler with no parameters except link. I do not get this error
   on a normal WordPress page when inserting a gallery using exclusions.
 * Any ideas?
 * [http://wordpress.org/extend/plugins/file-gallery/](http://wordpress.org/extend/plugins/file-gallery/)

The topic ‘PHP Error / Template?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/file-gallery_fdfbfb.svg)
 * [File Gallery](https://wordpress.org/plugins/file-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/file-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/file-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/file-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-gallery/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [wonderyak](https://wordpress.org/support/users/wonderyak/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/php-error-template/)
 * Status: not resolved