PHP Version 7.4.8 throws warning

papi Jo's picture

PHP Version 7.4.8 throws warning

settings:

windows 10, XAMPP install, with php 7.4.8, Drupal 8, H5P module version: '8.x-1.0-rc17'

Upon entering any H5P content I sometimes (not often) get this php warning:

Deprecated: Array and string offset access syntax with curly braces is deprecated in C:\xampp\htdocs\drupal\modules\h5p\vendor\h5p\h5p-core\h5p.classes.php on line 2747

 Deprecated: Array and string offset access syntax with curly braces is deprecated in C:\xampp\htdocs\drupal\modules\h5p\vendor\h5p\h5p-core\h5p-development.class.php on line 70

See https://wiki.php.net/rfc/deprecate_curly_braces_array_access

papi Jo's picture

Bump!

papi Jo's picture

Stilll not fixed

BV52's picture

Hi Papi Jo,

The H5P core team suggests to turn off deprecation warnings in production. That problem will probably be fixed in the next version and it's it is not too far away.

-BV

papi Jo's picture

Ok