Support » Plugin: Category Manager » [Plugin: Category Manager] Plugin could not be activated because it triggered a fatal error.

  • Resolved jonquil1

    (@jonquil1)


    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()

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mustansir Golawala

    (@mgolawala)

    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.

    Thread Starter jonquil1

    (@jonquil1)

    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. 🙂

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