WP 6.1: Fatal Error on wp-includes/blocks.php
-
After WP upgrade to 6.1 the site is down and I get this error on logs:
[02-Nov-2022 18:20:14 UTC] PHP Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /var/www/html/wp-includes/blocks.php:20 Stack trace: #0 /var/www/html/wp-includes/blocks.php(20): strpos() #1 /var/www/html/wp-includes/blocks.php(84): remove_block_asset_path_prefix() #2 /var/www/html/wp-includes/blocks.php(330): register_block_script_handle() #3 /var/www/html/wp-includes/blocks/navigation.php(651): register_block_type_from_metadata() #4 [internal function]: register_block_core_navigation() #5 /var/www/html/wp-includes/class-wp-hook.php(307): call_user_func_array() #6 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #7 /var/www/html/wp-includes/plugin.php(476): WP_Hook->do_action() #8 /var/www/html/wp-settings.php(598): do_action() #9 /var/www/html/wp-config.php(103): require_once('...') #10 /var/www/html/wp-load.php(50): require_once('...') #11 /var/www/html/wp-blog-header.php(13): require_once('...') #12 /var/www/html/index.php(17): require('...') #13 {main} thrown in /var/www/html/wp-includes/blocks.php on line 20
Any idea in how to solve it?
Regars,
Jordi
JOINSOThe page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WP 6.1: Fatal Error on wp-includes/blocks.php’ is closed to new replies.