Plugin Issue on Activation
-
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<?phpalso.This might help to resolve the issue. π
Also I have inserted one extra space charater ” ” after the initial
<?phptag to fix the issue.Regards
The topic ‘Plugin Issue on Activation’ is closed to new replies.