Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated for PHP 8.1 #8

Open
waviaei opened this issue Dec 6, 2022 · 0 comments · May be fixed by #9
Open

Deprecated for PHP 8.1 #8

waviaei opened this issue Dec 6, 2022 · 0 comments · May be fixed by #9
Labels

Comments

@waviaei
Copy link
Member

waviaei commented Dec 6, 2022

PHP 8.1 で下記 deprecation notice がでる。8.0 では出ない。

strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
wp-includes/functions.php:7022
strpos()
wp-includes/functions.php:7022
wp_is_stream()
wp-includes/functions.php:2155
wp_normalize_path()
wp-includes/plugin.php:768
plugin_basename()
wp-admin/includes/plugin.php:1405
add_submenu_page()
wp-content/plugins/logbook/src/LogBook/Admin.php:63
LogBook\Admin->admin_menu()
wp-includes/class-wp-hook.php:308
do_action('admin_menu')
wp-admin/includes/menu.php:155
str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
wp-includes/functions.php:2162
str_replace()
wp-includes/functions.php:2162
wp_normalize_path()
wp-includes/plugin.php:768
plugin_basename()
wp-admin/includes/plugin.php:1405
add_submenu_page()
wp-content/plugins/logbook/src/LogBook/Admin.php:63
LogBook\Admin->admin_menu()
wp-includes/class-wp-hook.php:308
do_action('admin_menu')
wp-admin/includes/menu.php:155
@waviaei waviaei added the bug label Dec 6, 2022
shanept added a commit to shanept/logbook that referenced this issue Apr 15, 2024
Fixes tarosky#8 Deprecation issues arising from PHP 8.
@shanept shanept linked a pull request Apr 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant