Forums

Category Manager
[resolved] Plugin could not be activated because it triggered a fatal error. (3 posts)

  1. jonquil1
    Member
    Posted 2 years ago #

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/example/public_html/wp-content/plugins/wp-category-manager/wp-category-manager.php on line 110

    Line 110 says:
    public static function get_postsPerPage_selectBox()

  2. Mustansir Golawala
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Jonquil1, Thanks for letting me know about the issue and sorry for the delay in getting back. In the recent rewrite I ended up using PHP5 constructs in the code, and it looks like the server you are running your site on is not running PHP5. (I would appreciate it if you could verify, that, that is indeed the case).

    I will look to see if I can easily downgrade the current syntax to make it PHP 4 compatible. I'd rather not, but as long as WordPress supports it, I should too.

    Once again, thank you for bringing this up. I will see if this is something I can quickly make backwards compatible.

  3. jonquil1
    Member
    Posted 1 year ago #

    Hi, thank you for taking the time to reply.

    I'm sorry. I can't say. I've defaulted all of my sites to PHP5. At the time that I made this post, originally, I'm not sure if it wasn't set to PHP5. I can't even remember which site it was that I tried to activate it on now. Sorry. I missed your reply.

    In the future, if I have a problem, I'll be sure to note which version of PHP I'm running...

    Thank you for paying attention and for your useful plugin. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic