Call to undefined function str contains()
Submitted by Chouxiaoya on Mon, 02/17/2025 - 04:03
Forums:
这个问题怎么解决(如图)?请求帮助!
How to solve this problem (as shown in the picture)? Please help!
这个问题怎么解决(如图)?请求帮助!
How to solve this problem (as shown in the picture)? Please help!
Navigation
Connect with H5P
About
H5P is a registered trademark of H5P Group
Privacy policy |
Copyright ©
2025
BV52
Tue, 02/18/2025 - 17:56
Permalink
Hi,In order to give your bug
Hi,
In order to give your bug report the best chance of getting answered, please include the following information:
The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!
-BV
otacke
Tue, 02/18/2025 - 18:35
Permalink
That is a known issue.H5P
That is a known issue.
H5P core expects PHP 8 which is reasonable, because PHP 7 reached its end of life years ago.
The server seems to still be running PHP 7 which does not contain a `str_contains` function.
The reasonable solution here would be to update PHP to version 8 on the server - not only for the sake of running H5P.