hi,
i try to use $phar->buildFromDirectory($path.'/'.$url) in the backgroundProcess, but got an error
Notice: Array to string conversion
ContextErrorException
--
Symfony\Component\Debug\Exception\ContextErrorException: Notice: Array to string conversion at vendor/cocur/background-process/src/BackgroundProcess.php:74 at Cocur\BackgroundProcess\BackgroundProcess->run() (src/AppBundle/Controller/DefaultController.php:86) at AppBundle\Controller\DefaultController->AjaxAction(object(Request)) at call_user_func_array(array(object(DefaultController), 'AjaxAction'), array(object(Request))) (var/cache/dev/classes.php:4507) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (var/cache/dev/classes.php:4462) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:169) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (web/app_dev.php:14)
the result of the $phar->buildFromDirectory is an array by default
hi, i try to use
$phar->buildFromDirectory($path.'/'.$url)
in the backgroundProcess, but got an errorthe result of the $phar->buildFromDirectory is an array by default