• rolice

    (@rolice)


    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/

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