Closed miloskroulik closed 3 years ago
Usage of json_decode() at
json_decode()
https://github.com/Ecomailcz/ecomail-php/blob/7ea5d679cf47edfea1971dd16a8a8b42bf617407/src/Ecomail.php#L491 leads to notices because:
$data
FALSE
$options
json_decode($output, null, $options)
Usage of
json_decode()
athttps://github.com/Ecomailcz/ecomail-php/blob/7ea5d679cf47edfea1971dd16a8a8b42bf617407/src/Ecomail.php#L491 leads to notices because:
$data
, so check at https://github.com/Ecomailcz/ecomail-php/blob/7ea5d679cf47edfea1971dd16a8a8b42bf617407/src/Ecomail.php#L469 inFALSE
and$options
variable is not initializedjson_decode($output, null, $options)
is wrong anyway, since the third parameter is the maximum depth, not flags