Title: Deprecated function notice.
Last modified: June 11, 2018

---

# Deprecated function notice.

 *  Resolved [mairag](https://wordpress.org/support/users/mairag/)
 * (@mairag)
 * [8 years ago](https://wordpress.org/support/topic/deprecated-function-notice-5/)
 * Hello,
 * I’m seeing this notice when I enable the debug mode on a few sites using this
   plugin:
 * [http://puu.sh/ADsDk/cffbf8d4f7.png](http://puu.sh/ADsDk/cffbf8d4f7.png)
 * Is there any plan to update it?
 * Best,
    Maira

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [bbceg](https://wordpress.org/support/users/bbceg/)
 * (@bbceg)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/deprecated-function-notice-5/#post-10704632)
 * A bit more information in case it helps:
 * Full error:
    `create_function is deprecated in {plugin_dir}/testimonials-widget/
   includes/libraries/aihrus-framework/includes/libraries/class-redrokk-metabox-
   class.php on line 1296`
 * The fix would appear to be to replace this with an anonymous function (an example
   of which is provided here):
 * [https://stackoverflow.com/questions/48161526/php-7-2-function-create-function-is-deprecated](https://stackoverflow.com/questions/48161526/php-7-2-function-create-function-is-deprecated)
 * Hope that is useful in resolving the problem.
 *  Thread Starter [mairag](https://wordpress.org/support/users/mairag/)
 * (@mairag)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/deprecated-function-notice-5/#post-10704663)
 * After 3 months with no reply, I don’t think they care about this. I switched 
   to another plugin but thanks anyway.
 *  [bbceg](https://wordpress.org/support/users/bbceg/)
 * (@bbceg)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/deprecated-function-notice-5/#post-10710878)
 * I’m still holding out as I use the plugin on a number of websites. I think the
   fix they need is:
 *     ```
       $function = function($default) {
         return redrokk_admin_class::getInstance($this->_isAdminPage)->getOption($field['id'], $default, true);
       };
       ```
   
 * Out of interest, which plugin did you switch to?
 *  Plugin Author [saurabhd](https://wordpress.org/support/users/saurabhd/)
 * (@saurabhd)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-notice-5/#post-10904472)
 * Hello [@everyone](https://wordpress.org/support/users/everyone/), I am working
   on this notices and it will be fixed in next release.
 *  [bbceg](https://wordpress.org/support/users/bbceg/)
 * (@bbceg)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-notice-5/#post-10953074)
 * Thanks [@saurabhd](https://wordpress.org/support/users/saurabhd/) that’s good
   to know. Any ideas when the next release is likely to be?
 *  Plugin Author [saurabhd](https://wordpress.org/support/users/saurabhd/)
 * (@saurabhd)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-notice-5/#post-10968130)
 * [@bbceg](https://wordpress.org/support/users/bbceg/) this has been resolved in
   3.4.6.
 *  [bbceg](https://wordpress.org/support/users/bbceg/)
 * (@bbceg)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-notice-5/#post-10980177)
 * Great, thanks [@saurabhd](https://wordpress.org/support/users/saurabhd/).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Deprecated function notice.’ is closed to new replies.

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

## Tags

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

 * 7 replies
 * 3 participants
 * Last reply from: [bbceg](https://wordpress.org/support/users/bbceg/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-notice-5/#post-10980177)
 * Status: resolved