Problem/Motivation

Error: Call to a member function getPagerId() on null in Drupal\jsonapi_views\Resource\ViewsResource->getViewsPager() (line 72 of /app/web/modules/contrib/jsonapi_views/src/Resource/ViewsResource.php)

Steps to reproduce

1. composer create-project -s dev drupal/recommended-project:9.1.x drupal && cd $_
2. composer require drupal/jsonapi_views:^1.0@beta
3. php -d memory_limit=-1 web/core/scripts/drupal quick-start demo_umami
4. Install JSON:API Views module: http://127.0.0.1:8888/en/admin/modules
5. http://127.0.0.1:8888/jsonapi/views/articles_aside/block_1

Proposed resolution

Fix issue.

Remaining tasks

- Determine issue.
- Fix issue.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

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

Deciphered created an issue. See original summary.

deciphered’s picture

Status: Active » Needs review

  • Deciphered committed 1c0f095 on 8.x-1.x
    Issue #3200875 by Deciphered: Fixed error with pager.
    
deciphered’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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