Problem/Motivation

Sitemap generation triggers this error:

TypeError: Drupal\social_feed_fetcher_access\Hook\NodeAccessHooks::nodeAccess(): Argument #3 ($account) must be of type Drupal\Core\Session\AccountProxyInterface, Drupal\Core\Session\AnonymousUserSession given in Drupal\social_feed_fetcher_access\Hook\NodeAccessHooks->nodeAccess() (line 50 of /var/app/web/modules/contrib/social_feed_fetcher/modules/social_feed_fetcher_access/src/Hook/NodeAccessHooks.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

bramdriesen created an issue. See original summary.

  • bramdriesen committed 6f7a47a3 on 4.0.x
    fix: #3588645 TypeError: Drupal\social_feed_fetcher_access\Hook\...
bramdriesen’s picture

Status: Active » Fixed

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.

Status: Fixed » Closed (fixed)

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