CodeIgniter Forums
Trait 'CodeIgniter\View\ViewDecoratorTrait' not found - 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: Trait 'CodeIgniter\View\ViewDecoratorTrait' not found (/showthread.php?tid=82188)



Trait 'CodeIgniter\View\ViewDecoratorTrait' not found - kabeza - 06-22-2022

Hi
I'm getting an error after updating CodeIgniter (through composer)
I've went through upgrading process, copying public/index.php and spark files from vendor\codeigniter4\framework to my app folder

I've tried composer update again, erasing vendor folder and installing everything again, w/o luck

[Image: 8XvpUPi.jpg]


RE: Trait 'CodeIgniter\View\ViewDecoratorTrait' not found - kenjis - 06-22-2022

It is strange.

Is there system/View/ViewDecoratorTrait.php in vendor/codeigniter4/framework/ ?


RE: Trait 'CodeIgniter\View\ViewDecoratorTrait' not found - kabeza - 07-01-2022

(06-22-2022, 02:23 PM)kenjis Wrote: It is strange.

Is there system/View/ViewDecoratorTrait.php in vendor/codeigniter4/framework/ ?

Indeed
It was very strange. Never seen it

Solution: erase vendor completely and fire composer install again

These kind of problems begun showing after we had to remove "vendor" from .gitignore because client has composer blocked in firewall (and there's no polite way to rever that)


RE: Trait 'CodeIgniter\View\ViewDecoratorTrait' not found - videotoolsdev - 07-24-2022

Have you found solution to the problem?


RE: Trait 'CodeIgniter\View\ViewDecoratorTrait' not found - birol - 11-21-2022

Yes I have given the solution.