Skip Navigation

[Resuelto] Toolset Types 3.1.2 Compatibility with PHP 7.2

This support ticket is created hace 6 años. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Etiquetado: 

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por DM hace 6 años.

Asistido por: Christian Cox.

Autor
Mensajes
#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!