WPML – PHP Fatal error: Uncaught Error: Call to undefined function str_contains()
To fix it urgently, I had to put a str_contains() polyfill right into wp-config.php: if (!function_exists(‘str_contains’)) { /** * Check if substring is contained in string * * @param $haystack * @param $needle * * @return bool */ function str_contains($haystack, $needle) { return (strpos($haystack, $needle) !== false); } } I used the polyfill from gdarko … Read more