WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error installing AddThis (2 posts)

  1. loveservices
    Member
    Posted 5 years ago #

    Hi,

    I have a 2.7 blog working perfectly well with several plugins installed, but I get this error when trying to activate the AddThis Social Bookmarking Widget:

    Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/vhosts/xxxx.com/httpdocs/wp-content/plugins/addthis/addthis_social_widget.php on line 36

    The installation itself completes normally and the plugin is there in my admin panel.

    Can anyone suggest how to fix this please?

    Thanks,
    Ben

  2. _mjk_
    AddThis Samurai
    Posted 5 years ago #

    Ben,

    You must be running PHP 4 -- try pulling the addthis_social_widget.php file from the /php4 directory of the latest plugin version.

    See this topic for a little more background: http://wordpress.org/support/topic/228274?replies=24

    Hope this helps!
    Matt

Topic Closed

This topic has been closed to new replies.

About this Topic