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
Hello, I am getting the following error: TypeError Cannot access offset of type string on string
from the file: lib/ConvertApi/Client.php:156
This is because the server returns a non-json string.
This case should throw an Error\Api just like a json-error.
Just add this before using the $json as an array, on line 156: if (is_string($json)) throw new Error\Api($json);
Activity
laurynas-convertapi commentedon Jun 26, 2022
Fixed in release v1.6.0
https://github.com/ConvertAPI/convertapi-php/releases/tag/v1.6.0