tamaracloudinary
Forum Replies Created
-
Hi @komalgondhali
This issue was already resolved in the previous released version. Thank you for reporting it
- This reply was modified 3 months ago by tamaracloudinary.
Hi there,
Thanks for your message.
Based on the error stack trace, the error is originating from line 59 here:
https://github.com/cloudinary/cloudinary_wordpress/blob/master/php/traits/trait-params.php#L59It appears the issue is that in your case
$newis a string rather than an array and then the$new[ $key ]syntax gets interpreted as trying to access a char index of the string while the index ($key) is also a string hence the error.To debug this further, may I please ask you to edit that file and edit line 43 to add a line to print/log the value of
$parts,$paramand$valueand then try to install the plugin again?
https://github.com/cloudinary/cloudinary_wordpress/blob/master/php/traits/trait-params.php#L43From the stack trace, we can see the initial call to that method passes
set_param_array(Array, Array, '')and the last call isset_param_array(Array, ‘on’, ”)` but we don’t know the contents of the initial 2 arrays.Best,
Tamara