We've recently upgraded the PHP version from 7.4 to 8.1. However, following this update, we are encountering difficulties accessing the WordPress dashboard. It's worth noting that the dashboard functions properly when using PHP version 7.4, but issues arise when PHP version 8.1 is utilized.
Here are the backend details for WordPress:
Here I have attached the log file for your reference. Also i am sharing the log file with details as below :
====================================================
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/wp-includes/functions.php on line 7127
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/wp-includes/functions.php on line 2182
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/wp-includes/functions.php on line 7127
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/wp-includes/functions.php on line 2182
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/wp-includes/functions.php on line 7127
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/wp-includes/functions.php on line 2182
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/wp-includes/functions.php on line 7127
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/wp-includes/functions.php on line 2182
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/wp-includes/functions.php on line 7127
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/wp-includes/functions.php on line 2182
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/wp-includes/functions.php on line 7127
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/wp-includes/functions.php on line 2182
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/wp-includes/functions.php on line 7127
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/wp-includes/functions.php on line 2182
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/wp-includes/functions.php on line 7127
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/wp-includes/functions.php on line 2182
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/wp-includes/functions.php on line 7127
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/wp-includes/functions.php on line 2182
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/wp-includes/functions.php on line 7127
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/wp-includes/functions.php on line 2182
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/wp-includes/functions.php on line 7127
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/wp-includes/functions.php on line 2182
Warning: foreach() argument must be of type array|object, string given in /var/www/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-taxonomies.php on line 63
Warning: foreach() argument must be of type array|object, string given in /var/www/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php on line 332
Warning: foreach() argument must be of type array|object, string given in /var/www/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php on line 332
Warning: foreach() argument must be of type array|object, string given in /var/www/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php on line 332
Warning: foreach() argument must be of type array|object, string given in /var/www/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-taxonomies.php on line 76
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/wp-content/plugins/types/vendor/toolset/types/wpcf.php:405 Stack trace: #0 /var/www/wp-includes/class-wp-hook.php(310): wpcf_upgrade_stored_taxonomies_with_builtin('') #1 /var/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #2 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /var/www/wp-settings.php(632): do_action('init') #4 /var/www/wp-config.php(105): require_once('/var/www/wp-set...') #5 /var/www/wp-load.php(50): require_once('/var/www/wp-con...') #6 /var/www/wp-admin/admin.php(34): require_once('/var/www/wp-loa...') #7 /var/www/wp-admin/index.php(10): require_once('/var/www/wp-adm...') #8 {main} thrown in /var/www/wp-content/plugins/types/vendor/toolset/types/wpcf.php on line 405
====================================================
I have attached the log file for your reference. Additionally, I am providing the log file with the following details:
Thanks,