The addNavigationBlock plugin doesn't exist in Drupal 10.6.7 — it was added in Drupal 11's navigation module. The update hook rebuild_cache_access_update_11001() was written for Drupal 11 but runs on Drupal 10 because the navigation module is enabled.

So the fix is to ignore that update if 'addNavigationBlock' does not exist.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

nnevill created an issue. See original summary.

nnevill’s picture

Status: Active » Needs review

The fix from the MR works for me.

norman.lol’s picture

Ah damn, good catch. OPT_IN_TEST_PREVIOUS_MAJOR: 1 actually would have caught this. Adding it now. Thank you!

  • norman.lol committed bc80016d on 8.x-1.x
    #3588295 PHPCS fixes
    
    Co-Authored-By: Claude Sonnet 4.6...
norman.lol’s picture

Version: 8.x-1.13 » 8.x-1.x-dev
Status: Needs review » Fixed

Releasing now

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

norman.lol’s picture

scott_euser’s picture

Thanks both!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.