Title: Function does not exist &#8220;ezd_main_date_sort&#8221; in functions.php:154
Last modified: October 1, 2024

---

# Function does not exist “ezd_main_date_sort” in functions.php:154

 *  Resolved [jwkd](https://wordpress.org/support/users/jwkd/)
 * (@jwkd)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/function-does-not-exist-ezd_main_date_sort-in-functions-php154/)
 * After adding the pro version I realized there was a reference to a function that
   doesn’t exist. This was causing a bug that caused all of my to not display. 
   
   In `/wp-content/plugins/eazydocs-pro/includes/functions.php` the `eazydocs_voted()`
   calls `unsort()` on a function that doesn’t exist. `usort( $vote_dates, "ezd_main_date_sort");`.
   As a temporary fix I removed the `eazydocs_voted()` functionality from the plugin
   but this is just a temp fix so I can do the work that needs to be done. I’m looking
   for a more permanent solution so we can continue updating the plugin in the future
   and have all of the functionality back.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Sajjad Hossain](https://wordpress.org/support/users/codersajjad/)
 * (@codersajjad)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/function-does-not-exist-ezd_main_date_sort-in-functions-php154/#post-18048679)
 * Hello,
 * Thanks for bringing this issue to our attention!
 * We will investigate the problem related to the `eazydocs_voted()` function calling`
   usort()` on a non-existent function, which is causing display issues on your 
   site. Rest assured, we’ll work on a fix and update the plugin as soon as possible.
   For now, your temporary solution should suffice, but we’ll ensure that a permanent
   fix is implemented so that future updates won’t cause any disruptions.
 * Thanks for your patience!

Viewing 1 replies (of 1 total)

The topic ‘Function does not exist “ezd_main_date_sort” in functions.php:154’ is
closed to new replies.

 * ![](https://ps.w.org/eazydocs/assets/icon-128x128.png?rev=3510212)
 * [EazyDocs - AI Powered Knowledge Base, Wiki, Documentation & FAQ Builder](https://wordpress.org/plugins/eazydocs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eazydocs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eazydocs/)
 * [Active Topics](https://wordpress.org/support/plugin/eazydocs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eazydocs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eazydocs/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Sajjad Hossain](https://wordpress.org/support/users/codersajjad/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/function-does-not-exist-ezd_main_date_sort-in-functions-php154/#post-18048679)
 * Status: resolved