WordPress.org

Ready to get started?Download WordPress

Forums

Share Post
Fatal Error With Update 4-16-11 (10 posts)

  1. epaul13
    Member
    Posted 3 years ago #

    Just auto installed the plugin update, got this error:

    Parse error: syntax error, unexpected T_STRING in /home/xxxx/public_html/xxxx.com/wp-content/plugins/share-post/share-post-admin.php on line 61

    What do I do? It obviously doesn't work.

    Thanks.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    FTP into your site (or use whatever file management application your host provides) and delete the wp-content/plugins/share-post folder.

  3. epaul13
    Member
    Posted 3 years ago #

    Yes thank you but its not crashing my site it just won't reactivate. I've uninstalled/deleted/reinstalled and still get the same error. Any suggestions?

  4. Janu Studio
    Member
    Posted 3 years ago #

    Does'nt works... BROKEN for all WPMU 3.1.1 proved... I was working fine but just a minute ago i updated and the plugin is broken.. is there any place we can download the back version~!

  5. Janu Studio
    Member
    Posted 3 years ago #

    Herez the solution

    I just Updated to version 2.1.3 - Got this error - Parse error: syntax error, unexpected T_STRING in /var/www/wp-content/plugins/share-post/share-post-admin.php on line 61.

    Checking the file out reveals a missing ";" at the end of line 60.

    Just place a ";" at the end n tada!!! there u get a fix...

    Used the update feature in WP to update, so this may possibly affect others who have updated this way as well. Hope this helps anyone with this issue!

  6. epaul13
    Member
    Posted 3 years ago #

    You're a genius! Thanks!

  7. faithchad
    Member
    Posted 3 years ago #

    Where is the line 60?

    I saw this answer in the Support page of Share Post but it does not tell us where is line 60. Can someone guide us?

  8. linksku
    Blocked
    Plugin Author

    Posted 3 years ago #

    I am very sorry about this. I released 2.1.3 in a rush and I wasn't able to test it properly.

    2.1.3.5 fixes this error. If you are unable to access your admin panel, please open "root/wp-content/plugins/share-post/share-post-admin.php" and find "add_option( 'sharepost_cloak', 1 )". Add a semi-colon to the end of that line to make it "add_option( 'sharepost_cloak', 1 );". It will now work.

    I apologize for any trouble this has caused. I can guarantee that this will never happen again.

  9. candreu
    Member
    Posted 3 years ago #

    Now I have a problem with version 2.1.3.5. When I update, I get a fatal error with share-functions.php because it redeclares is_bot().

  10. linksku
    Blocked
    Plugin Author

    Posted 3 years ago #

    I will fix it in 2.1.4 first thing tomorrow. It is getting late today.

    For now, you can remove the is_bot() function from wp-content/plugins/share-post/functions.php or you can delete the plugin for now. Sorry for the inconvenience.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic