PHP 8.2 Deprecation Errors and Notices
-
Hi,
Just an Heads Up.
I am using WP version 6.4.0 and PHP 8.2.Here are the deprecation errors that are showing,
PHP Notice: file_get_contents(): Read of 12288 bytes failed with errno=21 Is a directory in /code/wp-includes/functions.php on line 4593
Notice: Error when decoding a JSON file at path /code/wp-content/themes/****/resources: Syntax error in /code/wp-includes/functions.php on line 4596
PHP Deprecated: mysqli_real_connect(): Passing null to parameter #5 ($database) of type ?string is deprecated in /code/wp-includes/class-wpdb.php on line 1973
PHP Deprecated: mysqli_real_connect(): Passing null to parameter #7 ($socket) of type ?string is deprecated in /code/wp-includes/class-wpdb.php on line 1973
PHP Notice: Function map_meta_cap was called incorrectly. The post type wc_user_membership is not registered, so it may not be reliable to check the capability read_post against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /code/wp-includes/functions.php on line 6031
PHP Notice: Function map_meta_cap was called incorrectly. The post type wc_user_membership is not registered, so it may not be reliable to check the capability edit_post against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /code/wp-includes/functions.php on line 6031
PHP Deprecated: mysqli_real_connect(): Passing null to parameter #5 ($database) of type ?string is deprecated in /code/wp-includes/class-wpdb.php on line 1973
PHP Deprecated: mysqli_real_connect(): Passing null to parameter #7 ($socket) of type ?string is deprecated in /code/wp-includes/class-wpdb.php on line 1973I know that PHP 8.2 support is still in beta. Hope it will clear in next WP releases.
Thanks.
- The topic ‘PHP 8.2 Deprecation Errors and Notices’ is closed to new replies.