1
is a CLOUDINARY image upload system.
When I use a fixed value for PUBLIC_ID, it works!
$files["remote"] = \Cloudinary\Uploader::upload($sample_paths["couple"],
array_merge($default_upload_options, array(
"public_id" => '8273',
))
However, when I use a variable for PUBLIC_ID, the result of PUBLIC_ID simply from NULL
$files["remote"] = \Cloudinary\Uploader::upload($sample_paths["couple"],
array_merge($default_upload_options, array(
"public_id" => "$idbusca",
))
What can be?
Dude, actually the result of var_dump($idbusca) was NULL, but the same variable is used BEFORE and AFTER and it actually has a value... Please, You have skype?
– user7438004
Friend, I’ve got it... The above code was inside: Function do_uploads() {
 global $files, $sample_paths, $default_upload_options, $eager_params;

eu inclui o $idbusca entre essas variaveis, e ficou assim:

function do_uploads() {
 global $files, $sample_paths, $default_upload_options, $eager_params, $idbusca;

THANK YOU VERY MUCH
– user7438004
Okay, well, I’m glad to know that you were able to solve it. Don’t forget to positively validate my answers if I helped you. My contact details are on my website https://mfmello.com
– MateusFMello