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 7329
It’s because your code in
/wp-content/plugins/wp-asset-clean-up/classes/Menu.php
on line115
$parentSlug
isnull
whenhide_from_side_bar
istrue
and that’s causing this.Then it is also causing similar problem with
str_replace
throwing another lines of deprecated messages, but it’s the same issue… just don’t usenull
inadd_submenu_page
and it will be ok ??Thank you for this great plugin ??
- You must be logged in to reply to this topic.