Support » Plugins and Hacks » Like-Button-Plugin-For-Wordpress » [Plugin: Like-Button-Plugin-For-WordPress] PHP error on activate of 4.4.3

  • Resolved dropdeadfred

    (@dropdeadfred)


    Get this error on activate:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/leadi7/public_html/blog/wp-content/plugins/like-button-plugin-for-wordpress/admin/gb_admin_header.php on line 25

    I suppose it could be a PHP issue on my host, but I’ve been running this blog fine for years without issues.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author GBWorld

    (@gbworld)


    Hello dropdeadfred.

    You are not the first one with this error but like I told the other people too in this line there is only an ‘public static function’ command which should run properly on every host. But you are not the only one which this problem.

    I will try to fix this and use another way to call this function. I am sorry that this problem occurs on your blog. Have you tried to downgrade to 4.3.2? This version should work properly until this is fixed.

    Regards.

    Thank you for the quick response. That’s why I chose this plugin over some other options as it looked like someone actively maintained it and still cared about it.

    I will give the downgrade to 4.3.2 a try. Thanks!

    Plugin Author GBWorld

    (@gbworld)


    Thanks a lot. I wrote a note on my development board and I will try to fix it until the next update. When the update is ready and you’ve installed it give me another feedback please if it works.

    Regards.

    Tried the 4.3.2 and had a similar problem.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/leadi7/public_html/blog/wp-content/plugins/like-button-plugin-for-wordpress/admin/gb_admin_header.php on line 26

    However I realized that lunarpages had switched me back to PHP 4.x.

    I switched to PHP5 and 4.3.2 worked fine. I bet the lastest version will too.

    Yep 4.4.3 works now on PHP5. Should have known something was up.

    Thanks

    Plugin Author GBWorld

    (@gbworld)


    Thanks a lot. Good to know 🙂

    I’m just confirming that updating to PHP 5 resolved the issue with me, too. Luckily I didn’t have to downgrade.

    Thanks GBWorld for making an awesome plugin 🙂

    Plugin Author GBWorld

    (@gbworld)


    Thanks for this positive Feedback 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Like-Button-Plugin-For-WordPress] PHP error on activate of 4.4.3’ is closed to new replies.