NO BUG: 2.0 is not support multisite

my server at kinsta have set multisite.
but after update to 2.0 alpha & beta.
my site which is not primary doamin site will showing γ€Œ

There has been a critical error on this website.
Learn more about troubleshooting WordPress.

downgrade to 1.12.4 everything is fine.

error.log

2025/05/24 17:42:05 [error] 10660#10660: *68186 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function has_cap() on null in .../themes/bricks/includes/capabilities.php:89
Stack trace:
#0 .../wp-includes/class-wp-hook.php(324): Bricks\Capabilities::set_administrator_capabilities('')
#1.../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 .../wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 .../wp-admin/admin.php(175): do_action('admin_init')
#4 {main}
thrown in .../wp-content/themes/bricks/includes/capabilities.php on line 89" while reading response header from upstream, client: 122.118.7.xxx, server: ....com, request: "GET /wp-admin/admin.php?page=bricks HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.2-fpm-....sock:", host: "....com:64458", referrer: ".../wp-admin/themes.php"
1 Like

Hi @bboyfan,

any special configuration on that multisite? Do you have any roles disabled or/and maybe custom builder capabilities?

Please let me know as much info as you can, because I can’t reproduce this locally, in my local multisite installation.

Thanks,
Matej

customer service fixed that issue! thx

1 Like

Thanks. Will mark the issue as no-bug then.

Matej