Title: error warning : arsort() function
Last modified: August 24, 2016

---

# error warning : arsort() function

 *  [trunks27](https://wordpress.org/support/users/trunks27/)
 * (@trunks27)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-warning-arsort-function/)
 * I install this plugin and it works fine. But every time I open the web, there
   is the warning :
    _arsort() expects parameter 2 to be long, string given in /
   home/domainname/public\_html/wp-content/plugins/facebook-recent-comments/functions.
   php on line 74_ I always refresh the web to remove the warning.
 * Any solution for revome the warning without refresh ?
 * [https://wordpress.org/plugins/facebook-recent-comments/](https://wordpress.org/plugins/facebook-recent-comments/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Bishoy.A](https://wordpress.org/support/users/bishoya/)
 * (@bishoya)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-warning-arsort-function/#post-6159958)
 * Hello trunks27,
 * Sorry for the late reply. I will check what’s causing the warning. You should
   consider disabling PHP warnings and errors on a production instance.
 * Please refer to:
 * [http://codex.wordpress.org/Editing_wp-config.php#Debug](http://codex.wordpress.org/Editing_wp-config.php#Debug)
 * and
 * [https://codex.wordpress.org/Debugging_in_WordPress](https://codex.wordpress.org/Debugging_in_WordPress)
 *  [n381](https://wordpress.org/support/users/n381/)
 * (@n381)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-warning-arsort-function/#post-6159991)
 * Hello, recently i went into the same problem after changing a host, and have 
   found that additional functions should be set
 *     ```
       ini_set('log_errors','On');
       ini_set('display_errors','Off');
       ini_set('error_reporting', E_ALL );
       define('WP_DEBUG', false);
       define('WP_DEBUG_LOG', true);
       define('WP_DEBUG_DISPLAY', false);
       ```
   
 * Thank you for the plugin Bishoy.A
 * Best Regards

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘error warning : arsort() function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook-recent-comments.svg)
 * [Facebook Recent Comments](https://wordpress.org/plugins/facebook-recent-comments/)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-recent-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-recent-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-recent-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-recent-comments/reviews/)

## Tags

 * [facebook comment](https://wordpress.org/support/topic-tag/facebook-comment/)

 * 2 replies
 * 3 participants
 * Last reply from: [n381](https://wordpress.org/support/users/n381/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/error-warning-arsort-function/#post-6159991)
 * Status: not resolved