asadkn / selfhost-google-fonts

A WordPress plugin for automatic self-hosting google fonts.
https://wordpress.org/plugins/selfhost-google-fonts/
GNU General Public License v2.0
12 stars 7 forks source link

Deprecation warnings in PHP 8.1 #8

Open robertoschwald opened 1 year ago

robertoschwald commented 1 year ago

strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

wp-includes/functions.php:7053 strpos() wp-includes/functions.php:7053 wp_is_stream() wp-includes/functions.php:2158 wp_normalize_path() wp-includes/plugin.php:768 plugin_basename() wp-admin/includes/plugin.php:1405 add_submenu_page() wp-content/plugins/selfhost-google-fonts/inc/admin.php:39 Sphere\SGF\Admin->Sphere\SGF{closure}() wp-includes/class-wp-hook.php:308 do_action('admin_menu') wp-admin/includes/menu.php:155