• Resolved PBG4775

    (@pbg4775)


    We’re trying to upgrade from 7.4 to 8.2 but the PHP Compatibility checker plugin scan is saying ACF extended is not compatible with PHP 8.0?

    Advanced Custom Fields: Extended 0.9.0.4

    PHP 8.0 incompatibilities: FILE: includes/module.php FOUND 1 ERRORS AND 0 WARNINGS AFFECTING 1 LINES 873 | ERROR | Since PHP 7.0, functions inspecting arguments, like debug_backtrace(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$item” was changed on line 863.

Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    I can confirm you ACF Extended works is compatible with PHP 8 and works without any error.

    The scan message you shared looks like a false positive, as the debug_backtrace() in the code is not used to retrieve the parameter of the function, but rather to retrieve the current PHP filename.

    So it is not concerned by “functions inspecting arguments (…) no longer report the original value as passed to a parameter, but will instead provide the current value”.

    Thanks!

    Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Not Compatible with PHP 8.0? PHP Compatibility Checker’ is closed to new replies.