{{-- * LaraClassifier - Classified Ads Web Application * Copyright (c) BeDigit. All Rights Reserved * * Website: https://laraclassifier.com * Author: Mayeul Akpovi (BeDigit - https://bedigit.com) * * LICENSE * ------- * This software is furnished under a license and may be used and copied * only in accordance with the terms of such license and with the inclusion * of the above copyright notice. If you Purchased from CodeCanyon, * Please read the full License from here - https://codecanyon.net/licenses/standard --}} @extends('errors.layouts.master') @section('title', t('Internal Server Error')) @section('search') @parent @include('errors.layouts.inc.search') @endsection @section('content') @includeFirst([config('larapen.core.customizedViewPath') . 'common.spacer', 'common.spacer'])

500

{{ t('Internal Server Error') }}

@php $isDebugEnabled = config('app.debug'); $defaultErrorMessage = t('An internal server error has occurred'); $extractedMessage = null; if (isset($exception)) { if (is_object($exception) && method_exists($exception, 'getMessage')) { $extractedMessage = $exception->getMessage(); $extractedMessage = str_replace(base_path(), '', $extractedMessage); if (!empty($extractedMessage) && $isDebugEnabled) { if (method_exists($exception, 'getFile')) { $filePath = $exception->getFile(); $filePath = str_replace(base_path(), '', $filePath); $extractedMessage .= "\n" . 'In the: ' . $filePath . ' file'; if (method_exists($exception, 'getLine')) { $extractedMessage .= ' at line: ' . $exception->getLine() . ''; } } $extractedMessage = nl2br($extractedMessage); } } } echo (!empty($extractedMessage)) ? $extractedMessage : $defaultErrorMessage; @endphp

@endsection