WordPress.org

Forums

OnlyWire for WordPress [OFFICIAL]
1.7 Fatal Error on Activation - unexpected T_ELSEIF (2 posts)

  1. RedEyedTreeFrog
    Member
    Posted 1 year ago #

    Upon attempting to activate OnlyWire for WordPress [OFFICIAL] v1.7, I get the following error message:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected T_ELSEIF in //path/to/wp-content/plugins/onlywire-bookmark-share-button/owbutton_wordpress.php on line 407

    I tried this on the target site with all other plugins deactivated and still got the same message. I also tried it on a few live sites running various themes and plugins and still got the error message. Then I tried it on a fresh install of WordPress 3.6.1 with the 2012 and 2013 themes and no plugins and still got the same error message.

    Any help would be appreciated. Thanks.

    http://wordpress.org/plugins/onlywire-bookmark-share-button/

  2. goel.aditi01
    Member
    Posted 8 months ago #

    Hi,

    I am also strucked by this error in line 434.
    Using wordpress 3.9.1 and onlywire for wordpress [official]v1.8

    SO, to resolve this error checked owbutton_wordpress.php in this file 2 to 3 palces has php tag as "<?" changed it to "<?php" . The above error is resolved.

    Then my plugin is activated.
    But while i m doing its plugin setting. There is also an error of
    "call undefined function : curl_init();"
    To resolve this
    Go to your php.ini file and remove the ; mark from the beginning of the following line:
    ;extension=php_curl.dll

    and your plugin works...:-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic