I created a custom block module (nothing fancy, just an A-Z list and a taxonomy list for navigation), this worked fine in D8 & D9, now since upgrading to D10 it only shows when logged out, when logged in, it still writes a debug message to the Apache errorlog from the build() function, so I know the code is being called and I can dump the content to the log, I just get no display of the output. I have a few paths including . Log out and the block is displayed again.
All the answers I can find are for the block not displaying and requiring a login, this works fine until I login.
I'm outputting to the "hero" region and the region is displaying OK, just without my block content.
Any suggestions on what to look for?
$build = [ '#theme' => 'hopnavigation_block', '#commons' => $commons_menu, '#lords' => $lords_menu, '#az' => $az, '#constituency' => $con_az, ]; return $build;
public function getCacheMaxAge(): int { return 0; }