Title: Warning For Deprecated Function
Last modified: September 22, 2018

---

# Warning For Deprecated Function

 *  Resolved [SooBahkDo](https://wordpress.org/support/users/soobahkdo/)
 * (@soobahkdo)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/warning-for-deprecated-function/)
 * Hello,
 * I use your plugin on hundreds of sites on multisite networks and find it to be
   very valuable. Unfortunately the following is a nuisance.
 * Query Monitor reports the following:
 * Object
    component: “Plugin: post-state-tags” file: “wp-content/plugins/post-state-
   tags/libraries/class.settings-api.php” line: 108 message: “Function create_function()
   is deprecated” stack: (3) [“WeDevs_Settings_API->admin_init()”, “Post_State_Tags-
   >admin_init()”, “do_action(‘admin_init’)”] type: “deprecated” __proto__: Object
 * Any plans to update this?
    The notices are clogging up our logs 🙂
 * Thanks!
    -  This topic was modified 7 years, 8 months ago by [SooBahkDo](https://wordpress.org/support/users/soobahkdo/).

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

 *  Plugin Author [John Brand](https://wordpress.org/support/users/brandbrilliance/)
 * (@brandbrilliance)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/warning-for-deprecated-function/#post-10722640)
 * I’m not getting this error. You must be using a much newer version of PHP or 
   some plugin that is generating this error. The error is also generated by a 3rd
   party api library. I’ll see if I can find the error and fixing it.
 * PS. you can change your default PHP error/warning/notice logging in your PHP.
   ini file so it doesn’t generate these.
 *  Thread Starter [SooBahkDo](https://wordpress.org/support/users/soobahkdo/)
 * (@soobahkdo)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/warning-for-deprecated-function/#post-11173765)
 * Hi John, we are running PHP 7.2
 * We did have to drop a WeDevs plugin for other errors and i have not seen the 
   deprecated notice since then.
    -  This reply was modified 7 years, 3 months ago by [SooBahkDo](https://wordpress.org/support/users/soobahkdo/).
 *  Plugin Author [John Brand](https://wordpress.org/support/users/brandbrilliance/)
 * (@brandbrilliance)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/warning-for-deprecated-function/#post-11222845)
 * Hi. I forgot to post a reply here, but the version 2.0.3 contained a fix removing
   the anonymous function (deprecated).
 *  Thread Starter [SooBahkDo](https://wordpress.org/support/users/soobahkdo/)
 * (@soobahkdo)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/warning-for-deprecated-function/#post-11223524)
 * Thanks!

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

The topic ‘Warning For Deprecated Function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/post-state-tags_f7f6f4.svg)
 * [Post State Tags](https://wordpress.org/plugins/post-state-tags/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-state-tags/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-state-tags/)
 * [Active Topics](https://wordpress.org/support/plugin/post-state-tags/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-state-tags/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-state-tags/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [SooBahkDo](https://wordpress.org/support/users/soobahkdo/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/warning-for-deprecated-function/#post-11223524)
 * Status: resolved