![]() |
Upgrade to 4.3.1 help - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: Upgrade to 4.3.1 help (/showthread.php?tid=86204) |
Upgrade to 4.3.1 help - chaos - 01-20-2023 Hi, I upgraded manually CI to 4.1.3: 1. I copied system directory 2. I launched composer update Spark doesn't work anymore: Quote:[Error]In breaking changes paragraph is written Quote:If you do not update this file, Spark commands will not work at all after running But such file doesn't exists. RE: Upgrade to 4.3.1 help - kenjis - 01-20-2023 It is the example when you installed CI via Composer. When you installed CI manually, download a new copy of the framework, and then copy the files. https://github.com/CodeIgniter4/framework/releases/tag/v4.3.1 RE: Upgrade to 4.3.1 help - chaos - 01-21-2023 (01-20-2023, 04:55 AM)kenjis Wrote: It is the example when you installed CI via Composer. Hi, I confirm I followed the manual procedure, i have copied the system directory. I confirm spark gives that error, Quote:Call to a member function getStatusCode() on null I have another question: so if I update the CI new release manually, i have to avoid running composer update? If yes, how can i update the vendor libraries? Thanks RE: Upgrade to 4.3.1 help - kenjis - 01-21-2023 You need to copy the spark file in the new framework to your project. You don't need to run `composer update` when you upgrade the framework, because the framework does not exists in your vendor directory. > how can i update the vendor libraries? When you want to update vendor libraries, run `composer update`. RE: Upgrade to 4.3.1 help - chaos - 01-23-2023 Thank you, spark problem solved. Now i have the following problem: when i apply the manual changes for Kint: Quote:app/Config/Kint.php has been updated for Kint 5.0.You need to replace:Kint\Renderer\Rendererwith Kint\Renderer\AbstractRendererRenderer::SORT_FULLwith AbstractRenderer::SORT_FULLI receive this error when running spark: Quote:Class 'Kint\Renderer\AbstractRenderer' not found RE: Upgrade to 4.3.1 help - kenjis - 01-23-2023 Remove the "kint-php/kint" line in your composer.json, and run `composer update`. Code: { |