Skip to content

Errors coming while upgrading to php7.2 #566

Open

Description

@rajesh-mobicules

Hi,

I upgraded my environment to php7.2 and i ran the php compatibility checker..

Below is the error which i am getting:

FILE: /var/www/html/medicare/wp-content/plugins/posts-to-posts/admin/dropdown.php

FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE

50 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead

FILE:
/var/www/html/medicare/wp-content/plugins/posts-to-posts/vendor/mustache/mustache/src/Mustache/Tokenizer.
php

FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE

95 | WARNING | INI directive 'mbstring.func_overload' is deprecated since PHP 7.2

Please let me know if there is any updated plugin by which we can have get this fixed.

I can override these functions in my themes as these are private functions of a class and it does not have any method to apply hooks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions