Skip to content

When a plan is deleted, the packages throws an error on renewal for that specific plan #301

@ixperiencenl

Description

@ixperiencenl

The update cashier:run gives an error when running:
Call to a member function orderItemPreprocessors() on null

I checked when this occurs, and it looks like it comes from when a plan is deleted. The subscription plan is empty (duh) and it cannot get any properties from it, but the subscriptions are sometimes still active.
I think I did something wrong here, but the error could be a bit more clear, or maybe avoidable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions