-
Notifications
You must be signed in to change notification settings - Fork 4
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
ActionAttempt.php Error #88
Comments
Hey @rguerin1, we'll look into this, in the meantime can you try using version 1? |
If you go to https://console.seam.co and put a question into our intercom chat mentioning this issue and pass along a uuid, we can debug a bit more specifically. For our engineers, here is a relevant test: https://github.com/seamapi/php/blob/main/tests/ActionAttemptsTest.php |
Before you emailed I did try version 1.1 and there were no issues. I got
version 1.1 by downloading the zip file. I just hadn't had time to
comment on that yet. What is the uuid that you are wanting? I'm a
little new to this and would love to help you out. The ActionAttempt.php
file is definitely different between the two versions. I installed the
version composer downloads on Tuesday of this week. That was the one
that has an issue.
Robert
…On Sat, Jan 27, 2024 at 5:30 PM Severin Ibarluzea ***@***.***> wrote:
Hey @rguerin1 <https://github.com/rguerin1>, we'll look into this, in the
meantime can you try using version 1? composer require ***@***.***
—
Reply to this email directly, view it on GitHub
<#88 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFUOOJMK6BE2ZT7NXIPFGWLYQWS2RAVCNFSM6AAAAABCNDPIM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGQYDCMRVG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@seveibar Please tag v2.0.1 soon, so we don't have to manually patch this or use dev-main. |
I get the following error when trying to lock a door using the example code. Any help would be greatly appreciated.
Fatal error: Uncaught TypeError: Seam\Objects\ActionAttempt::__construct(): Argument #4 ($result) must be of type ?string, stdClass given, called in /home/qa43mss75pl2/public_html/app.webbids.net/Seam/vendor/seamapi/seam/src/Objects/ActionAttempt.php on line 13 and defined in /home/qa43mss75pl2/public_html/app.webbids.net/Seam/vendor/seamapi/seam/src/Objects/ActionAttempt.php:24 Stack trace: #0 /home/qa43mss75pl2/public_html/app.webbids.net/Seam/vendor/seamapi/seam/src/Objects/ActionAttempt.php(13): Seam\Objects\ActionAttempt->__construct() #1 /home/qa43mss75pl2/public_html/app.webbids.net/Seam/vendor/seamapi/seam/src/SeamClient.php(597): Seam\Objects\ActionAttempt::from_json() #2 /home/qa43mss75pl2/public_html/app.webbids.net/Seam/vendor/seamapi/seam/src/SeamClient.php(629): Seam\ActionAttemptsClient->get() #3 /home/qa43mss75pl2/public_html/app.webbids.net/Seam/vendor/seamapi/seam/src/SeamClient.php(1586): Seam\ActionAttemptsClient->poll_until_ready() #4 /home/qa43mss75pl2/public_html/app.webbids.net/Seam/test3.php(20): Seam\LocksClient->lock_door() #5 {main} thrown in /home/qa43mss75pl2/public_html/app.webbids.net/Seam/vendor/seamapi/seam/src/Objects/ActionAttempt.php on line 24
The text was updated successfully, but these errors were encountered: