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)
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 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
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.
Can you also upgrade WPML and addon plugins to latest version 2.9.1?
It won’t affect your site so you might want to hide the warning like Dude said.
The topic ‘Enfold – WPML. Error/Warning: Warning: uasort(): Array was modified by the user’ is closed to new replies.