-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel 9 Update #1413
Laravel 9 Update #1413
Conversation
Fresh install with php8.1.3 is not possible, below exception occurs.
|
Fresh install with php8.0.16 works fine. |
Testing the branch on my live site, with flights and daily ops. This error shows up every 5 mins on my laravel log.
Trying to figure out what it can be, cron or a module or something else ? Not much clues in the error and stack trace below. |
And this is the last entry from my cron log, this makes me think that above PDO error is somehow related with cron.
|
I think the cron error is related to this 'cause it is the only piece of code, running a version command every time cron runs https://github.com/nabeelio/phpvms/blob/Laravel9/bin/cron#L21-L26 $status = $kernel->handle(
$input = new Symfony\Component\Console\Input\ArrayInput([
'command' => 'version',
]),
new Symfony\Component\Console\Output\NullOutput()
); |
PDO is a PHP class from the PDO driver, maybe something not configured right with the command line PHP? That command throwing an error is strange though, I'll look |
Cron started working again, that suggestion provided with the error worked :) And no repeating errors in laravel log on every cron run. |
As suggested, use 'phpvms:version'
Upgrade Guide
verify_peer
have moved to the root of the SMTP settings. See the Laravel upgrade guide, under "SMTP Stream Options"Notes
Fuel
andDistance
styles, so usages of those need to be updated, so something like$pirep->fuel_used->internal([rounding])
to get the value. There are several methods:internal()
gets the unit in its internal storage format,local()
to the unit that the user has selected to view them as, in the admin panel. Both methods take an optional rounding valueTemplate Changes
Task List