-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Was using the plugin with PHP 8.1 and getting the following warnings showing up in my PHP log.
Deprecated: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
Not sure of the exact location where this is coming from but heres more info from my debug page:
wp-includes/functions.php:7300 strpos() wp-includes/functions.php:7300 wp_is_stream() wp-includes/functions.php:2182 wp_normalize_path() wp-includes/plugin.php:769 plugin_basename() wp-admin/includes/plugin.php:1478 add_submenu_page() wp-content/plugins/admin-options-pages/App/Admin/AdminPages/AdminPages.php:95 AOP\A\A\A\AdminPages->setPages() wp-content/plugins/admin-options-pages/App/Admin/AdminPages/AdminPages.php:38 AOP\A\A\A\AdminPages->AOP\A\A\A\{closure}() wp-includes/class-wp-hook.php:324 do_action('admin_menu') wp-admin/includes/menu.php:161