Title: Error when displaying thumbnails
Last modified: September 1, 2016

---

# Error when displaying thumbnails

 *  [jrcollins](https://wordpress.org/support/users/jrcollins/)
 * (@jrcollins)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-when-displaying-thumbnails/)
 * I just installed the plugin and it was working well until I enabled thumbnails.
   I then got an error message on both the widgets admin page and front end of my
   site.
    This is the error message: `Warning: asort() expects parameter 2 to be
   long, string given in /home4/hgacc/public_html/mywebsite.com/wp-content/plugins/
   Advanced-Categories-Widget-master/inc/class-advanced-categories-widget-utils.
   php on line 275`
 * [https://wordpress.org/plugins/advanced-categories-widget/](https://wordpress.org/plugins/advanced-categories-widget/)

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

 *  Plugin Author [darrinb](https://wordpress.org/support/users/dbmartin/)
 * (@dbmartin)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-when-displaying-thumbnails/#post-7655244)
 * It appears you’re using a version of PHP earlier than 5.4. I just released an
   update that should fix your issue. Let me know if it works out for you.
 * Thanks!
 *  Thread Starter [jrcollins](https://wordpress.org/support/users/jrcollins/)
 * (@jrcollins)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-when-displaying-thumbnails/#post-7655269)
 * Just tested the plugin again now and the issue seems to have been resolved. Thanks
   for your help. I’m giving the plugin 5 stars.
 *  Thread Starter [jrcollins](https://wordpress.org/support/users/jrcollins/)
 * (@jrcollins)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-when-displaying-thumbnails/#post-7655315)
 * What about displaying thumbnails for child categories? It doesn’t seem to be 
   working when I enable them for child categories.

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

The topic ‘Error when displaying thumbnails’ is closed to new replies.

 * ![](https://ps.w.org/advanced-categories-widget/assets/icon-256x256.png?rev=1408895)
 * [Advanced Categories Widget](https://wordpress.org/plugins/advanced-categories-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-categories-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-categories-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-categories-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-categories-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-categories-widget/reviews/)

## Tags

 * [error message](https://wordpress.org/support/topic-tag/error-message/)
 * [thumbnails](https://wordpress.org/support/topic-tag/thumbnails/)

 * 3 replies
 * 2 participants
 * Last reply from: [jrcollins](https://wordpress.org/support/users/jrcollins/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/error-when-displaying-thumbnails/#post-7655315)
 * Status: not resolved