My project have two Parts
I am trying to calling the API of may backend symfony project from Wordpre
there was an error at '@'.realpath($path) from php 5.5 and above this is used curl_file_create(realpath($path)) instead of '@'. problem solved
'@'.realpath($path)
curl_file_create(realpath($path))
'@'