Title: Fix for Deprecated: Function create_function() error
Last modified: April 6, 2019

---

# Fix for Deprecated: Function create_function() error

 *  [Simon](https://wordpress.org/support/users/simonmaddox/)
 * (@simonmaddox)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fix-for-deprecated-function-create_function-error/)
 * I don’t see much support for this plugin, so wanted to share the fix for this
   error you see when debug is on:
 * `Deprecated: Function create_function() is deprecated in .../wp-content/plugins/
   wp-trello/wp-trello.php on line 88`
 * Delete (or comment line by starting with `//` )line 88 and replace with:
 *     ```
                               add_action( 'widgets_init', 'wp_trello_register_widget');
                               function wp_trello_register_widget(){
                                       return register_widget("wpt_widget" ); 
                               }
       ```
   
    -  This topic was modified 7 years, 1 month ago by [Simon](https://wordpress.org/support/users/simonmaddox/).

Viewing 1 replies (of 1 total)

 *  [Tim Nolte](https://wordpress.org/support/users/tnolte/)
 * (@tnolte)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/fix-for-deprecated-function-create_function-error/#post-11768102)
 * Thanks for this, if I’m inclined maybe I’ll pursue taking over the plugin.

Viewing 1 replies (of 1 total)

The topic ‘Fix for Deprecated: Function create_function() error’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-trello.svg)
 * [WP Kanban](https://wordpress.org/plugins/wp-trello/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-trello/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-trello/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-trello/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-trello/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-trello/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tim Nolte](https://wordpress.org/support/users/tnolte/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/fix-for-deprecated-function-create_function-error/#post-11768102)
 * Status: not resolved