inc/blocks/MenuBlock.php
@@ -29,7 +29,7 @@ public function __construct() { $this->cache = Cache::for('menu', WEEK_IN_SECONDS)->connectTo('post', 'menu_item'); $this->cache = Cache::for('menu', WEEK_IN_SECONDS)->connect('post'); add_action('init', [ $this, 'registerBlock' ]); }