create_function is depricated notice
-
I was getting the following error with PHP 7.2:
[04-Dec-2018 12:55:14 UTC] PHP Deprecated: Function create_function() is deprecated in /wp-content/plugins/bbpress-advanced-recent-topics-widget/bbpress-advanced-recent-topics-widget.php on line 188
My fix was to change line 188 to this:
add_action('widgets_init', function() { register_widget("BBP_Recent_Topics_Widget_Advanced"); } );
- The topic ‘create_function is depricated notice’ is closed to new replies.