Argument 1 passed to str_contains() must be of the type string, null given
-
I’m getting this error since some days, maybe since one of the last updates, but I noticed only now.
Here’s the stack trace of the blocking error:
AH01071: Got error ‘PHP message: PHP Fatal error:
Uncaught TypeError: Argument 1 passed to str_contains() must be of the type string, null given, called in […]/wp-content/plugins/advanced-responsive-video-embedder/php/functions-shortcode-filters.php on line 157 and defined in […]/wp-content/plugins/docket-cache/includes/vendor/symfony/polyfill-php80/bootstrap.php:29
Stack trace:
#0 […]/wp-content/plugins/advanced-responsive-video-embedder/php/functions-shortcode-filters.php(157): str_contains(NULL, ‘/embed/videoser…’)
#1 […]/wp-content/plugins/advanced-responsive-video-embedder/php/ShortcodeArgs.php(369): Nextgenthemes\\ARVE\\special_iframe_src_mods(Array)
#2 […]/wp-content/plugins/advanced-responsive-video-embedder/php/ShortcodeArgs.php(31): Nextgenthemes\\ARVE\\ShortcodeArgs->arg_iframe_src(Array)
#3 […]/wp-content/plugins/advanced-responsive-video-embedder/php/functions-shortcodes.php(117): Nextgenthemes\\…
‘Is there some incompatibility with Docket cache or the problem is another?
Can you please give me some hint? I also use ARVE AMP AddonThanks for helping
DavideUPDATE: I noticed that the problem is only on AMP pages, reguler web pages work as expected.
- The topic ‘Argument 1 passed to str_contains() must be of the type string, null given’ is closed to new replies.