Skip Navigation

[Résolu] Toolset Types 3.1.2 Compatibility with PHP 7.2

This support ticket is created Il y a 6 années. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Marqué : 

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par DM Il y a 6 années.

Assisté par: Christian Cox.

Auteur
Publications
#1147169

DM

We’re preparing to upgrade our clients to PHP 7.2 and assessing the compatibility of our plugins with this version of PHP. When we ran our tests on version of Types 3.1.2 we turned up a number of warnings, but no errors.

I’ve included the warnings below and I was wondering if we could get confirmation of if Types is compatible with PHP 7.2 and if not, if there was an estimated date when it would be.

Name: Toolset Types

FILE: /webroot/wp-content/plugins/types/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
------------------------------------------------------------------------------------------------------

FILE: /webroot/wp-content/plugins/types/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
---------------------------------------------------------------------------------------------------------

#1147317

Hi, thanks for the report. I will check with my developers and try to get some additional information about this.

#1149210

Okay I have been informed that there's nothing to worry about here. The response from our developers is that one of our 3rd party libraries, Twig, checks to see if mbstring.func_overload is supported. If so, it triggers an internal (Twig) warning. It's not actually using the mbstring.func_overload feature to do anything, except to throw this warning. Shouldn't cause any functionality problems.

#1149438

DM

Great, thanks for confirming! Thank you!