Problem/Motivation

TypeError: Drupal\Core\Cache\CacheableMetadata::applyTo(): Argument #1 ($build) must be of type array, Symfony\Component\HttpFoundation\JsonResponse given, called in /var/www/html/docroot/modules/contrib/spalp/src/Controller/AppLandingJsonController.php on line 122 in Drupal\Core\Cache\CacheableMetadata->applyTo() (line 135 of core/lib/Drupal/Core/Cache/CacheableMetadata.php).

Steps to reproduce

1. create an applanding node
1. visit its JSON endpoint

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork spalp-3595359

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

malcomio created an issue. See original summary.

malcomio’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.