3

Output message works fine but debugbar session doesn't have them

if (empty($item)) {
  return back()
    ->withErrors(['msg' => "post id => {$id} not found"])
    ->withInput();
}

debugbar

  • laravel 5.8
  • debugbar 7.3.1
SuperStar518
  • 2,814
  • 2
  • 20
  • 35

0 Answers0