Title: Multi Sort Array error
Last modified: August 30, 2016

---

# Multi Sort Array error

 *  [runseven](https://wordpress.org/support/users/runseven/)
 * (@runseven)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/multi-sort-array-error/)
 * Hi,
 * Just installed the plugin but I am getting this error: Warning: array_multisort():
   Argument #1 is expected to be an array or a sort flag in /home/alcoholi/public_html/
   2015_CERAA_WP/wp-content/plugins/document-gallery/admin/class-admin.php on line
   959
 * Any idea what that could be? I only see error on the settings page and the plugin
   does not work.
 * [https://wordpress.org/plugins/document-gallery/](https://wordpress.org/plugins/document-gallery/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/multi-sort-array-error/#post-6414388)
 * Hi runseven,
 * This is definitely a bug. I’ve just confirmed the issue. What is curious is that
   it appears to have been present for quite some time without anyone reporting 
   it.
 * We’ll work on getting this patched ASAP, however is should not prevent you from
   using the plugin. It is just a warning and should only ever appear in the admin
   side when viewing the thumbnail management tab.
 * Were you experiencing any issues beyond this warning?
 * Thanks,
    Dan

Viewing 1 replies (of 1 total)

The topic ‘Multi Sort Array error’ is closed to new replies.

 * ![](https://ps.w.org/document-gallery/assets/icon.svg?rev=983329)
 * [Document Gallery](https://wordpress.org/plugins/document-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/document-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/document-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/document-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/document-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/document-gallery/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/multi-sort-array-error/#post-6414388)
 * Status: not resolved