• I’m getting the following error when attempting to activate the plugin within WP v3.0.1.

    Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /htdocs/wp-content/plugins/easy-post-types/custom-type.php on line 31

    The same code works/enables fine in v3.0. Any suggestions?

    Thanks in advance.

    Scott

    https://www.ads-software.com/extend/plugins/easy-post-types/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter smccandl

    (@smccandl)

    Found the solution. Needed to add the following to httpd.conf and restart apache:

    <Directory /home/myuser/mysite.com/htdocs>
    suPHP_Engine on
    suPHP_UserGroup apache apache
    AddHandler x-httpd-php5 .php
    suPHP_AddHandler x-httpd-php5
    allow from all
    </Directory>

    Hope this helps someone else.

    Scott,

    Can you tell me how you found your solution? I’d like to try it but I’m not sure how to find the httpd.conf file.

    Easy Post Types works great on my local machine and on our HostMonster install (both 3.0.1) but give this fatal error on GoDaddy (which was unfortunately chosen by our client long ago)

    Thanks

    For now, just disabled Easy Post Types and written my own register_post_type function.

    Don’t know if it’s a GoDaddy issue or what, but at least the plugin works on our sites hosted elsewhere.

    Hi,

    i’ve the same error :

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /homez.37/bonsaimu/www/site/wp-content/plugins/easy-post-types/custom-type.php on line 31

    I don’t understand the Scott (smccandl) solution…
    I’ ve check the custom-type.php file and i don’t see errors or omissions

    Anybody can help me, please?

    Thanks

    I also have this issue — it’s a brand new 3.0.1 WP install and I have no other plugins installed.

    I’m also not sure how to go about Scott’s solution above.

    Where this the file “httpd.conf” para add the code?? Can you help me?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP Easy Post Types] Plugin could not be activated because it triggered a fatal error.’ is closed to new replies.