I have recently updated the laravel version of my project to version 8 and Livewire to version 2.36, but I have had problems in some components. For example:
I have a component that is called from another and a function that only redirects, but when entering the function it always returns the error: Allowed memory size of 134217728 bytes exhausted.
In this function I have just added this:
return redirect (route (‘see.class’, [$ this-> course-> alias, $ class-> id]));
I have tried several ways to redirect but it always happens the same.
Has it happened to someone else?