In our second post of this upgrade series we are going to take our newly upgraded application from our local environment and push the new code up to the production server. For a detailed notes on actually upgrading your code base from 5.1 -> 5.5 go here: Upgrading Laravel from 5.1 -> 5.5
Steps We will Take:
– put site in maintenance mode: php artisan down
– run our deploy script
– delete vendor directory and run “composer install” with new code base
– upgrade version of php on the server to 7.1
– put site back up live: php artisan up
Troubleshooting Tips:
Undefined class constant ‘XLXS’
To Fix Run: composer update
Maatwebsite/excel 3.0.1 requires phpoffice/phpspreadsheet ^1.2
Phpoffice/phpspreadsheet 1.3.1 requires ext-iconv * -> the requested PHP extension iconv is missing
Fix for this is: yum install ea-php71-php-iconv
Maatwebsite/excel 3.0.1 requires phpoffice/phpspreadsheet ^1.2
Phpoffice/phpspreadsheet 1.3.1 requires ext-zip * -> the requested PHP extension zip is missing
Fix for this is: yum install ea-php71-php-zip
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
Fix for this: php artisan key:generate
Call to undefined method Illuminate\View\Factory::getFirstLoop()
Fix For this: php artisan view:clear