• Resolved SooBahkDo

    (@soobahkdo)


    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 6 years, 6 months ago by SooBahkDo.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Brand

    (@brandbrilliance)

    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

    (@soobahkdo)

    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 6 years, 1 month ago by SooBahkDo.
    Plugin Author John Brand

    (@brandbrilliance)

    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

    (@soobahkdo)

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning For Deprecated Function’ is closed to new replies.