WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] Fatal Error on plugin activation for last version 1.4.8 (28 posts)

  1. echezuria
    Member
    Posted 1 year ago #

    After las update 1.4.8 the plugin can not be activated.

    Parse error: syntax error, unexpected T_FUNCTION in /home/nolapele/public_html/wp-content/plugins/wordpress-seo/wp-seo.php on line 45

    I'm going back to previous version.

    Thanks for your help to fix this issue.

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. pgale2
    Member
    Posted 1 year ago #

    I'm getting the same exact error.

  3. mik-ost
    Member
    Posted 1 year ago #

    Yes me too!

    How can I back to the previous version?

    Please fix it asap, my categorie links are completely broken.

    Many thanks

  4. boldwater
    Member
    Posted 1 year ago #

    Same error here upon updating. using WP 3.5.1

  5. Rajesh Namase
    Member
    Posted 1 year ago #

    Seems everyone facing same issue, don't worry Joost is very good developer he'll fix it soon ...

  6. handhugs
    Member
    Posted 1 year ago #

    Same problem!

  7. monroetechs
    Member
    Posted 1 year ago #

    Same issue, just updated. No failure message from WP just a PHP error when the window refreshed.

  8. tieteense
    Member
    Posted 1 year ago #

    Same issue here.

    Renamed /www/wp-content/plugins/wordpress-seo until a new version is available.

  9. li9ssb
    Member
    Posted 1 year ago #

    I'm going back to previous version.
    Same issue.

  10. Alain Schlesser
    Member
    Posted 1 year ago #

    The cause seems to be an old version of php (< 5.3), which is essentially deprecated.
    You should verify with your hosting provider to update to supported version of php.

    If, like me, you use HostGator, here's how to change to a supported version:
    http://support.hostgator.com/articles/hosting-guide/hardware-software/php-5-3

  11. bbuie
    Member
    Posted 1 year ago #

    I have the same problem. I just moved a wordpress site to a server and am getting the Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/wordpress-seo/wp-seo.php

    Is there a quicker fix?

  12. T
    Member
    Posted 1 year ago #

    Thanks for the tip Alain
    I am with bluehost and using php version 5.2.17

    You can check your bluehost php version here and get instructions to upgrade which I will do shortly and hope it solves the problem.
    https://my.bluehost.com/cgi/help/386

    Is there any downside to updating my php version? Is it likely to cause anything else to break?

    I am getting a big warning about changing the php version

    If you are not familiar with these options, do NOT change them.
    This can cause all PHP scripts on your site to stop functioning if misconfigured.
  13. DoctorMicro
    Member
    Posted 1 year ago #

    Dito same error, shared server running PHP 5.3.24 version, what version does SEO by yoast need???

  14. Alain Schlesser
    Member
    Posted 1 year ago #

    @DoctorMicro: Hmm, strange, it should work with PHP >5.3. Have you verified that you are indeed using this exact version. There are often several versions installed on a server, you have to verify that WordPress is using the correct one.

  15. T
    Member
    Posted 1 year ago #

    I went in via FTP and renamed the wordpress-seo plugin and my site is now working but it's a temporary fix until I know for certain that it is the PHP version breaking the plugin.

  16. bbuie
    Member
    Posted 1 year ago #

    By the way, I'm running SEO by Yoast version 1.4.7 and have the same problem.

  17. Joost de Valk
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry about this people... If you don't have PHP 5.3, rest assured we'll fix this by tomorrow, for now, please roll back to 1.4.7, by deleting the entire plugin through FTP and reinstalling.

  18. DoctorMicro
    Member
    Posted 1 year ago #

    Most host are running 5.3+ on their shared servers, is Yoast needing 5.4 now?

  19. DoctorMicro
    Member
    Posted 1 year ago #

    I see you have rolled back to Version 147 on the WordPress.org site for now, Thanks.

  20. Joost de Valk
    Member
    Plugin Author

    Posted 1 year ago #

    DoctorMicro: most hosts are running 5.2, which is the min requirement for WP. If you have 5.3, the update will actually work flawlessly. You can just use 1.4.7, the stable version, that works fine.

  21. Beren
    Member
    Posted 1 year ago #

    that woudl have been a good note to include...a change in PHP required version...

  22. DoctorMicro
    Member
    Posted 1 year ago #

    Just a note: you may have to delete the plugin using FTP, etc. To be able to load version 1.4.7, which may show is loaded or that version 1.4.8 is loaded already.

  23. Joost de Valk
    Member
    Plugin Author

    Posted 1 year ago #

    @berenerchamion it wasn't an intended change. We're fixing it all back so the next version will work on PHP 5.2 without issue.

  24. MikeMobley2002
    Member
    Posted 1 year ago #

    If I delete this plugin out of FTP, and then download this again and install it, will it keep all of the settings in there, etc.?

  25. MikeMobley2002
    Member
    Posted 1 year ago #

    Nevermind, got it. Thank you.

  26. mik-ost
    Member
    Posted 1 year ago #

    I can confirm: After update on PHP 5.3 (Hostgator) plugin is working again.

  27. dmagditch
    Member
    Posted 1 year ago #

    @Alain Schlesser thank you for the post about upgrading PHP. Saved my butt earlier!

  28. Beren
    Member
    Posted 1 year ago #

    No worries - thanks for all the quick work guys! I upgraded to 5.3 and just now re-applied the new version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic