We had installed Enfold and WPML. The system works fine.
But each time we go to Backend WP administration panel –> Appariecnce – > Theme we have the following Warning in the TOP
Warning: uasort(): Array was modified by the user comparison function in /var/www/vhost/ayuntamientobenisano.es/home/html/wp-includes/class-wp-theme.php on line 1172
The warning appears when we setup the WPML STRING TRANSLATION (this option is mandatory for our web)
Hi,
If you want to find out if it’s a theme related issue please deactivate Enfold and activate the default WordPress theme (twentytwelve theme). If the issue is not related to Enfold it’s a WPML plugin bug and you need to report it to the WPML devs.
You can also try to deactivate the debug mode in wp-config.php to get rid of the php warning: http://codex.wordpress.org/Editing_wp-config.php#Debug
WPML Reply
usort() [function.usort]: Array was modified by the user comparison function are due to a known php bug. See php bug #50688 for more information. This warning does not affect the functionality of your site and it is not visible to your users.
https://bugs.php.net/bug.php?id=50688
Can you also upgrade WPML and addon plugins to latest version 2.9.1?
Hi,
It won’t affect your site so you might want to hide the warning like Dude said.
http://codex.wordpress.org/Editing_wp-config.php#Debug
Regards,
Ismael