Archived from the Transloadit support forum. Originally posted on February 22, 2011; details may be outdated, see our docs for current behavior. Original thread
I’m using PHP 5.2.13 and I keep getting “Unsupported operand types on line 25 of TransloaditRequest.php”. I’m guessing this might be because I’m on an older version of PHP?
print_r($this->params); // prints Array ( )
print_r($this->params['auth']); // prints nothing
If I add this line above the array addition, then everything seems to work. The problem seems to be that $this->params[‘auth’] is not an array and PHP doesn’t like adding an array to undefined.
So please download the latest version of the SDK and try again.
I’m really sorry about this. I previously made a chance needed by another customer, but unfortunately that broke the common use case. However, since it worked for the previous customer I initially assumed there was a problem with the way you’re using the library.
Sorry about that, hope it’s working for you now.
Let me know if there is anything else I can help with!