-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Trying to access array offset on value of type null #9
Comments
Thanks @ousid. I'm afraid we'll need some more info here like details on how the product and variant were configured because right now this was tested and should work. Can you also share the full code on how you pass the checkout to the view as well as how you assign the checkout to the blade component? |
Hmm odd. It would help if you had an entire stacktrace to see where the error originates from. |
Feel free to re-open an issue once you have a complete stacktrace 👍 |
Trying to run a checkout with a variant ID, but I got the following issue:
Trying to access array offset on value of type null
Steps to produce
x-lemon-button
Code sample:
The Problem
After digging into the package source code, I found the issue in the
url()
methodSuggested solution
For now, I didn't have any clue on where is the problem exactly is. I'll update the issue once I solved the problem, with a
PR
.The text was updated successfully, but these errors were encountered: