You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let say i have this method in my backend code, but whenever i tried to render the errors using <?= validation->listErrors(); ?> in my frontend page, it showed nothing. Before i implemented Myth/Auth to my project, i can render the Error in my html.
The text was updated successfully, but these errors were encountered:
I can't say for sure what is causing this but I will say this: your last line serialized the entire Validation instance into SESSION, which will require un-serialized it on the next page load. It is very possible something is getting lost/corrupt in this transition. I would advise passing something simpler, like with('errors', $validation->listErrors())
i solved it but i don't know why. Actually i just need to change into return redirect()->to('/comics/create)->withInput(); only and i can delete those $validation. Before i install Myth/Auth in my project, this code seems fine. But after i installed it i don't need ->with('validation', $validation); anymore. Anyway, thanks for your reply, we can close this issues.
let say i have this method in my backend code, but whenever i tried to render the errors using
<?= validation->listErrors(); ?>
in my frontend page, it showed nothing. Before i implemented Myth/Auth to my project, i can render the Error in my html.The text was updated successfully, but these errors were encountered: