Problem/Motivation

When the channel is not available for any reasons, we have warnings like this:

E_WARNING Trying to access array offset on null

(Most recent call first)
at
(unknown method)(/code/web/modules/contrib/entity_share_websub/modules/entity_share_websub_subscriber/src/Plugin/QueueWorker/SubscriptionRecordWorker.php:97)
at

Steps to reproduce

Make the other site inacessible while processing the subscription queue.

Proposed resolution

Add proper error handling before using the output from JSON API.

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

aron novak created an issue. See original summary.

aron novak’s picture

Version: 2.x-dev » 1.1.x-dev

aron novak’s picture

Status: Active » Needs review
jeffreysmattson’s picture

Status: Needs review » 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.