You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This came from one of my recent change in #1324. I thought my editor (PhpStorm) would detect such incompatibilities, but I got fooled by some polyfills (!) bringing this function to a PHP 7.1 environment... so it all looked fine. 😕
Describe the bug
str_starts_with() is a new function in php 8. It cannot be used without protection while php 7 is still supported.
New issue in qtranslate-xt 3.15.0. Workaround: revert to 3.14.2 or upgrade php
Debug info
Call to undefined function str_starts_with() in /public_html/wp-content/plugins/qtranslate-xt/src/url.php:288
The text was updated successfully, but these errors were encountered: