Yes, I’m experiencing the same thing when I try to activate the plugin on WP 3.5.1
Turns out the PHP version on your server needs to be 5.3+ for this plugin to work
Hi rodneyb, thanks for the info. I will try to change PHP to 5.3 in Cpanel to see what happens.
Kind Regards
The issue here is the PHP version, not the WP version. As rodneyb stated, the plugin is compatible with PHP 5.3+
Hi, i am still getting the same error and i am running PHP v5.3. Any other ideas what i could try as i really need to import.
The exact error you are receiving is Parse error: syntax error, unexpected T_FUNCTION in {INSERT YOUR PATH TO PLUGIN}/widget-settings-importexport/widget-data.php on line 49? And you’re positive you are on PHP 5.3?
Yeah that is the exact one. It pops up when i try to activate it. And i am positive that i am on 5.3. I am using 123-reg hosting and they say the only use that version, i can request to go back a version but thats it.
Thanks for the quick reply.
Hi Im having the same problem. I also switched from 5.2 to 5.3 and am still getting the same error:
Parse error: syntax error, unexpected T_FUNCTION in /home1/kreativn/public_html/poletna/wp-content/plugins/widget-settings-importexport/widget-data.php on line 49
Any thoughts?
cheers!
If you are getting this error, you are not on PHP 5.3. Even 5.3.0 has anonymous functions available which is what I am using, so it couldn’t be an issue with minor versions (5.3.???). Instead, I believe that your host is mistaken and that you are still on 5.2. I will be releasing a new version of the plugin shortly that will display that as an error message upon activation so people stop having this issue. Until then, I’d say check your phpinfo(); and see if your host is right and that you were actually upgraded. If you had, it wouldn’t have run into this error.
Using PHP 5.3.23, and the plugin displays no settings to be uploaded. Nor any error messages.
Just a blank screen beneath “Select All Active Widgets” and “Un-Select All Active Widgets” buttons.
Another post suggests switching to version 1.0. Same result.
PHP version 5.3.23
MySQL version 5.1.69-cll
Architecture x86_64
Operating system linux