PHP Deprecated: strpos(): Passing null to parameter
-
Can you please solve this?
It’s creating huge debug.log files on my websites.
PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329It’s because your code in
/wp-content/plugins/wp-asset-clean-up/classes/Menu.phpon line115$parentSlugisnullwhenhide_from_side_baristrueand that’s causing this.Then it is also causing similar problem with
str_replacethrowing another lines of deprecated messages, but it’s the same issue… just don’t usenullinadd_submenu_pageand it will be ok 🙂Thank you for this great plugin 😉
The topic ‘PHP Deprecated: strpos(): Passing null to parameter’ is closed to new replies.