boodaddy
Member
Posted 5 months ago #
I just upgraded from the most recent version of "All in one SEO Pack" prior to this update. When I upgraded to the latest version I get the error...
"Plugin could not be activated because it triggered a fatal error.
Parse error: parse error, expecting `T_FUNCTION' in C:\wamp\www\wordpress\wp-content\plugins\all-in-one-seo-pack\all_in_one_seo_pack.php on line 2269"
I am using WampServer until I go live. I don't think that is my issue. I will say that this plugin worked great before I upgraded it.
Thanks for any help.
rgrouleff
Member
Posted 5 months ago #
I'm having the exact same problem after upgrading the plugin to v1.5.
I'm using WP 2.7.1 and the PHP version I'm running it on is:
PHP 5.2.8 with Suhosin-Patch 0.9.6.3 (cli) (built: Feb 10 2009 12:22:26)
It's an excellent plugin that I really like a lot - looking forward to see a fix.
Thanks.
When are you getting this error? Is it when you click "upgrade," when you try to access the options page, when you try and submit new options, etc? Was this from the built-in upgrade for AIOSEOP or the WordPress plugin upgrade?
If you're having this issue, tell me: operating system (of the web server, not of your computer), PHP version, WordPress version, hosting company, previous AIOSEOP version (if you remember).
rgrouleff
Member
Posted 5 months ago #
I'm seeing the error when the WP plugin upgrade is trying to reactivate the plugin after unzipping the new version.
I've also tried uninstalling it and installing v1.5 from within WP. Again it fails when trying to activate the plugin.
As stated above am I running WP 2.7.1 on PHP 5.2.8 with Suhosin-Patch 0.9.6.3 (cli) and it's on a selfhosted FreeBSD 6.4-RELEASE i386. If I remember correctly the previous version of AIOSEOP I upgraded from was 1.4.91.
Feel free to contact me at http://semperfiwebdesign.com/contact and I'll be happy to take a look.
RobSpectre
Member
Posted 5 months ago #
The issue is an incorrectly closed loop directly before the Options Panel routine.
It can be resolved by adding a } on line 2268.
Try version 1.5.1. Let me know if you're still getting the error.
RobSpectre
Member
Posted 5 months ago #
Just connected with Michael who was very responsive in troubleshooting this issue.
He tracked the issue to the use of a short tag to close the loop in question. I had short tags turned off in my PHP configuration, thus Zend engine didn't parse the close bracket.
Michael has posted a full tag to close the bracket in 1.5.1.
You can tell if your PHP configuration disables short tags by looking for the following directive in your php.ini:
short_open_tag = Off
boodaddy
Member
Posted 5 months ago #
Awesome! 1.5.1 did the trick! Works like a charm now.
Thanks for all your help. You rock!
landylin
Member
Posted 5 months ago #
hi,friend could you pls give some suggestions of my blog http://landy.baidu.ws/
You're welcome guys. Thank you all for letting me know about this issue. As it only affects approximately 0.1% of sites, I wouldn't have otherwise known.
Let me know if there are any other problems.
:)