-
Notifications
You must be signed in to change notification settings - Fork 8
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
PHP Notice: Undefined Variable #1
Comments
Can you verify that |
Hi Marcel, I updated to the new version (2.2.1) of the Tinkerwell app today, and the above started working. Both serialized and unserialized data are showing up correctly now.
The above returned an expected collection or an array in case of ->toArray(). If something had changed in the new version, thank you. |
On the other hand, I had updated the code to use a repository pattern instead of directly calling "$events = Events::all()"; so the serialization most likely had been the culprit in my case about a week ago. Hope this helps someone. Thank you for your input. |
Hello Marcel,
First and foremost, thank you for all the tools and packages you and your team have produced. Your many contributions have been absolutely invaluable. Keep up the great work.
I have just upgraded Tinkerwell app to 2.2.0 and installed the tinkerwell-helper package. While overall everything appears to work properly, I am unable to get the value of the variable in the Tinkerwell window. When I close the Tinkerwell app, the tinker($events) command relaunches the application, so the handoff seems to occur, however, trying to access the value returns the PHP Notice. I am using the hyn/tenancy package in our project, and initially, I am activating the right tenant to access the correct database.
I hope the information below helps you in tracking down the issue! Thank you in advance.
Here is the code in controller app:
Here is the code in Tinkerwell app:
Here is the result:
The text was updated successfully, but these errors were encountered: