WordPress.org

Ready to get started?Download WordPress

Forums

Multiple Post Thumbnails
[resolved] Parse error on activation (6 posts)

  1. loky5
    Member
    Posted 4 years ago #

    Hi, I was looking for this feature for a long time.
    But I've got this error on activation :

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in [...]/wp-content/plugins/multiple-post-thumbnails/multi-post-thumbnails.php on line 32

    I tried to check, but found nothing strange...

  2. Chris Scott
    Member
    Plugin Author

    Posted 4 years ago #

    loky5: are you running PHP4? The plugin requires PHP5.

  3. Marlimant
    Member
    Posted 4 years ago #

    Hi Chris:

    The plugin works ok for me, but it only shows a large thumbnail size on the index page. Do you know any way to force a custom size? I can to change the thumbnail size in the edit post, but not in the public page.

    Cheers.

  4. jvinch
    Member
    Posted 4 years ago #

    Same error upon activation for me:

    syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}'

  5. jvinch
    Member
    Posted 4 years ago #

    And this was indeed related to using PHP4 - when I switched to PHP5 it activated without problems.

  6. Chris Scott
    Member
    Plugin Author

    Posted 4 years ago #

    @marlimant
    see the FAQ

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic