Title: PHP-7.2. Deprecated: Function create_function()
Last modified: July 31, 2018

---

# PHP-7.2. Deprecated: Function create_function()

 *  [noname](https://wordpress.org/support/users/dimaeromin/)
 * (@dimaeromin)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/php-7-2-deprecated-function-create_function-6/)
 * is deprecated in C:\OpenServer\domains\mihalich-themes.net\wp-content\plugins\
   open-table-widget\open-table-widget.php on line 78
    [screenshot](https://i.imgur.com/ZsXpk4d.jpg)
   [screenshot](https://i.imgur.com/PHjHscr.jpg)

Viewing 1 replies (of 1 total)

 *  [grieverll](https://wordpress.org/support/users/grieverll/)
 * (@grieverll)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-7-2-deprecated-function-create_function-6/#post-11127412)
 * I have manually patched this until they release an update.
    Changed the first
   line with the content below //add_action( ‘widgets_init’, create_function( ”,‘
   register_widget( “Open_Table_Widget” );’ ) ); add_action( ‘widgets_init’, function(){
   return register_widget(“Open_Table_Widget”); }
 * );

Viewing 1 replies (of 1 total)

The topic ‘PHP-7.2. Deprecated: Function create_function()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/open-table-widget_ecccce.svg)
 * [Open Table Widget](https://wordpress.org/plugins/open-table-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/open-table-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/open-table-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/open-table-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/open-table-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/open-table-widget/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [grieverll](https://wordpress.org/support/users/grieverll/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/php-7-2-deprecated-function-create_function-6/#post-11127412)
 * Status: not a support question