• ResolvedModerator Dominik Schilling

    (@ocean90)


    WordPress Core Developer

    The function vxcf_form::clean() is using the string self as a callables parameter which will be removed in a future PHP version, see https://php.watch/versions/8.2/partially-supported-callable-deprecation.

    Possible patch:

    - return array_map( array('self','clean'), $var );
    + return array_map( array(vxcf_form::class,'clean'), $var );

    Would be great to get this fixed to avoid such PHP notices on current PHP versions. Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Deprecation Notice: Use of “self” in callables is deprecated’ is closed to new replies.