You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.
Catchable fatal error: Argument 1 passed to Ctct\Components\Activities\ActivityError::create() must be of the type array, string given, called in Ctct\Components\Activities\Activity.php on line 47 and defined in Ctct\Components\Activities\ActivityError.php on line 24
The API responds with something like the following:
I know this is an old issue, but for those of us still searching for support, I found the following:
Quote:
After looking into this, it looks like the problem here is a bug that we introduced into the sample code for how that last parameter is being sent. The proper formatting is as follows:
Here is the full PHP error:
Catchable fatal error: Argument 1 passed to Ctct\Components\Activities\ActivityError::create() must be of the type array, string given, called in Ctct\Components\Activities\Activity.php on line 47 and defined in Ctct\Components\Activities\ActivityError.php on line 24
The API responds with something like the following:
But
ActivityError::create()
is expecting something like this:The text was updated successfully, but these errors were encountered: