The error occurs when WordPress tries to call wp_is_block_theme() but the function does not exist. This function was added in WordPress 6.8, so older installations or corrupted core files lack it.
The call often happens before core files are fully loaded, such as in a mu‑plugin, theme functions.php, or an early hook. When the function is missing, PHP throws a fatal error and stops execution.