| 
									
										
										
										
											2024-03-09 13:03:02 +01:00
										 |  |  | @extends('layout.v2.error') | 
					
						
							|  |  |  | @section('status_code','500') | 
					
						
							|  |  |  | @section('status','Internal Server Error') | 
					
						
							|  |  |  | @section('sub_title', trans('errors.db_error_occurred')) | 
					
						
							|  |  |  | @section('content') | 
					
						
							|  |  |  |     <div class="row"> | 
					
						
							|  |  |  |         <div class="col"> | 
					
						
							|  |  |  |             <p> | 
					
						
							|  |  |  |                 {{ trans('errors.error_not_recoverable') }} | 
					
						
							|  |  |  |             </p> | 
					
						
							|  |  |  |             <p class="text-danger"> | 
					
						
							|  |  |  |                 {{ $exception->getMessage() ?? 'General unknown error' }} | 
					
						
							|  |  |  |             </p> | 
					
						
							|  |  |  |             <p> | 
					
						
							|  |  |  |                 {!! trans('errors.error_location', ['file' => $exception->getFile(), 'line' =>  $exception->getLine(), 'code' => $exception->getCode() ]) !!} | 
					
						
							|  |  |  |             </p> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |     @if(!$debug) | 
					
						
							|  |  |  |         <div class="row"> | 
					
						
							|  |  |  |             <div class="col"> | 
					
						
							|  |  |  |                 <h4> | 
					
						
							|  |  |  |                     {{ trans('errors.more_info') }} | 
					
						
							|  |  |  |                 </h4> | 
					
						
							|  |  |  |                 <p> | 
					
						
							|  |  |  |                     {!! trans('errors.collect_info')  !!} | 
					
						
							|  |  |  |                     {!! trans('errors.collect_info_more')  !!} | 
					
						
							|  |  |  |                 </p> | 
					
						
							|  |  |  |                 <h4> | 
					
						
							|  |  |  |                     {{ trans('errors.github_help') }} | 
					
						
							|  |  |  |                 </h4> | 
					
						
							|  |  |  |                 <p> | 
					
						
							| 
									
										
										
										
											2025-02-06 17:06:48 +01:00
										 |  |  |                     {!! trans('errors.github_instructions') !!} | 
					
						
							| 
									
										
										
										
											2024-03-09 13:03:02 +01:00
										 |  |  |                 </p> | 
					
						
							|  |  |  |                 <ol> | 
					
						
							|  |  |  |                     <li>{{ trans('errors.use_search') }}</li> | 
					
						
							| 
									
										
										
										
											2025-02-06 17:06:48 +01:00
										 |  |  |                     <li>{!!  trans('errors.include_info', ['link' => route('debug') ]) !!}</li> | 
					
						
							| 
									
										
										
										
											2024-03-09 13:03:02 +01:00
										 |  |  |                     <li>{{ trans('errors.tell_more') }}</li> | 
					
						
							|  |  |  |                     <li>{{ trans('errors.include_logs') }}</li> | 
					
						
							|  |  |  |                     <li>{{ trans('errors.what_did_you_do') }}</li> | 
					
						
							|  |  |  |                 </ol> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     @endif | 
					
						
							|  |  |  |     @if($debug) | 
					
						
							|  |  |  |         <div class="row"> | 
					
						
							|  |  |  |             <div class="col"> | 
					
						
							|  |  |  |                 <h4>{{ trans('errors.error') }}</h4> | 
					
						
							|  |  |  |                 <p> | 
					
						
							|  |  |  |                     {!! trans('errors.error_location', ['file' => $exception->getFile(), 'line' =>  $exception->getLine(), 'code' => $exception->getCode() ]) !!} | 
					
						
							|  |  |  |                 </p> | 
					
						
							|  |  |  |                 <h4> | 
					
						
							|  |  |  |                     {{ trans('errors.stacktrace') }} | 
					
						
							|  |  |  |                 </h4> | 
					
						
							|  |  |  |                 <div style="font-family: monospace;font-size:11px;"> | 
					
						
							|  |  |  |                     {!!  nl2br($exception->getTraceAsString())  !!} | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     @endif | 
					
						
							|  |  |  | @endsection |