Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to read property "amount" on null #32

Open
tpharaoh opened this issue Aug 12, 2022 · 1 comment · May be fixed by #35
Open

Attempt to read property "amount" on null #32

tpharaoh opened this issue Aug 12, 2022 · 1 comment · May be fixed by #35

Comments

@tpharaoh
Copy link

I have a subscription with 2 price points. A Monthly + a seat based price.

When I click to view data I get this. Should I be enabling additional features? Do I need additional configuration?

image

@Livijn
Copy link

Livijn commented Jun 12, 2023

I have a similar error. For me it's related to this line:

/** @var \Laravel\Cashier\Billable|\Illuminate\Database\Eloquent\Model $billable */
$billable = $billableModel->find($billableId);

I use the SoftDeletes trait which means that the billable model might be deleted.

@Livijn Livijn linked a pull request Jun 12, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants