• Resolved seanking2919

    (@seanking2919)


    Hey guys,

    So I’m looking to update to PHP 7 specifically in the next coming days. And I got these warnings when looking at the compatibility tests done with the WordPress PHP Compatibility Test plugin:

    In the file plugins/responsive-menu/vendor/twig/twig/lib/Twig/Compiler.php
    ———————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————-
    218 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
    ———————————————————————————————————-

    And in the file plugins/responsive-menu/vendor/twig/twig/lib/Twig/Lexer.php
    ——————————————————————————————————-
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ——————————————————————————————————-
    87 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
    91 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
    ——————————————————————————————————-

Viewing 1 replies (of 1 total)
  • Hey there,

    I can only assume they are false positives. I have been running PHP 7 for at least a year now with no issue and all my testing is done with PHP 7.

    In addition, those are only warnings, not errors and come from the highly popular twig library.

    All in all you are fine to upgrade to PHP 7.

    All the best

    Peter

Viewing 1 replies (of 1 total)
  • The topic ‘PHP 7 Compatibility issue?’ is closed to new replies.