Welcome Guest, Not a member yet? Register   Sign In
Trait 'CodeIgniter\View\ViewDecoratorTrait' not found
#1

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]
Reply
#2

It is strange.

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

(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)
Reply
#4

Have you found solution to the problem?
Reply
#5

Yes I have given the solution.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB