Unyson
Unyson copied to clipboard
Translation Extension error
After installing the Translation Extension, my site went down
Parse error: syntax error, unexpected T_FUNCTION in /home/dcolores/www/wp-content/plugins/unyson/framework/extensions/translation/class-fw-extension-translation.php on line 41
Can you help me how to fix it? URGENT!
There is an anonymous function which doesn't not work in php 5.2.
We will fix it in the next release.
For now, you can fix it manually by replacing those lines with:
add_action( 'widgets_init', create_function('', "register_widget( 'FW_Widget_Language_Switcher' );"));
Thanks a lot!
Thank you for reporting.