Closed Smolinsky closed 9 months ago
Hey, could you please post the error stack trace? Thanks.
Hey, could you please post the error stack trace? Thanks.
https://i.imgur.com/qrfBgy0.png
Hey, could you please post the error stack trace? Thanks.
https://i.imgur.com/hcDLrYW.png
Is this information sufficient?
@itsgoingd Hi. Can you change in repo this lines 437-439 to change in secure null on (bool) null in the file ClockworkSupport.php to support old versions Laravel?
$response->cookie( new Cookie('x-clockwork', json_encode($clockworkBrowser), time() + 60, null, null, (bool)null, false) );
Hey, thanks for the traces, we definitively want to keep supporting Laravel 5.6, I'll have a fix ready soon.
Fixed in Clockwork 5.2.
Hello, I have installed the package, and it's working fine. However, I'm facing an issue with accessing the admin panel of the project where Backpack is installed. The error points to the bool $secure = false type in the vendor/symfony/http-foundation/Cookie.php file, but in the Clockwork code, it uses new Cookie('x-clockwork', json_encode($clockworkBrowser), time() + 60, null, null, null, false, null). Perhaps, this could be related to an inconsistency in package versions? https://i.imgur.com/qrfBgy0.png
Version Laravel 5.6 PHP 7.2.21 http-foundation v3