Title: Plugin Issue on Activation
Last modified: August 21, 2016

---

# Plugin Issue on Activation

 *  [Lyubomir Gardev](https://wordpress.org/support/users/rolice/)
 * (@rolice)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-issue-11/)
 * Hello, another problem occurred while “traveling” through servers 🙂
 * On some hosting servers the plugin throw:
    `Parse error: syntax error, unexpected'
   function' (T_FUNCTION) in /home/afrafurn/public_html/wp-content/plugins/multiple-
   gallery-on-post/functions.php on line 1`
 * ..and similar error for admin/metabox.php `unexpected 'class' (T_CLASS)`.
 * This may be a result of bad file encoding, line endings and lack of space near`
   <?php`.
 * For sure the both files come with Mac line endings, but not UNIX.
    I would suggest
   inserting a blank line after `<?php` also.
 * This might help to resolve the issue. 🙂
 * Also I have inserted one extra space charater ” ” after the initial `<?php` tag
   to fix the issue.
 * Regards
 * [https://wordpress.org/plugins/multiple-gallery-on-post/](https://wordpress.org/plugins/multiple-gallery-on-post/)

The topic ‘Plugin Issue on Activation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multiple-gallery-on-post.svg)
 * [Multiple Gallery on Post](https://wordpress.org/plugins/multiple-gallery-on-post/)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-gallery-on-post/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-gallery-on-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-gallery-on-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-gallery-on-post/reviews/)

## Tags

 * [activation problem](https://wordpress.org/support/topic-tag/activation-problem/)
 * [encoding](https://wordpress.org/support/topic-tag/encoding/)

 * 0 replies
 * 1 participant
 * Last reply from: [Lyubomir Gardev](https://wordpress.org/support/users/rolice/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-issue-11/)
 * Status: not a support question