WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Template
This plug in generated an error WP3.0 (3 posts)

  1. saraar
    Member
    Posted 4 years ago #

    I installed it on WordPress 3.0 and when I tried to activate it the following error was generated.

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /path/domains/www.mydomain.abc/html/wp-content/plugins/custom-post-template/custom-post-templates.php on line 39

  2. janhoos
    Member
    Posted 3 years ago #

    I get the same error on 3.11 and 3.04

    Got it to work on another site that runs 3.04 so I'm confused...

  3. Simon Wheatley
    Code for the People
    Plugin Author

    Posted 3 years ago #

    The reason for this error is that you are running PHP4, not PHP5. You need to talk to your hosting company about upgrading. This plugin needs PHP5, and soon WordPress itself my require PHP5 so it may be worth taking the time to sort this out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic