whenever i want to view a profile it showing me a fatal error, with the message "FatalErrorException (E_UNKNOWN) Cannot use [] for reading" why it is happening
@if($user->is_employer() || $user->is_agent()) logo_url[] }}" class="img-fluid" style="max-width: 100px;" /> @endif
<table class="table table-bordered table-striped mb-4">
<tr>
<th>@lang('app.name')</th>
<td></td>
</tr>
<tr>
<th>@lang('app.email')</th>
<td></td>
</tr>
<tr>
<th>@lang('app.gender')</th>
<td></td>
</tr>
<tr>
<th>@lang('app.phone')</th>
<td></td>
</tr>
<tr>
<th>@lang('app.address')</th>
<td></td>
</tr>
<tr>
<th>@lang('app.country')</th>
<td>
@if($user->country)
@endif
</td>
</tr>
<tr>
<th>@lang('app.created_at')</th>
<td></td>
</tr>
<tr>
<th>@lang('app.status')</th>
<td></td>
</tr>
</table>
@if($user->is_employer() || $user->is_agent())
<h3 class="mb-4">About Company</h3>
<table class="table table-bordered table-striped">
<tr>
<th>@lang('app.state')</th>
<td></td>
</tr>
<tr>
<th>@lang('app.city')</th>
<td></td>
</tr>
<tr>
<th>@lang('app.website')</th>
<td></td>
</tr>
<tr>
<th>@lang('app.company')</th>
<td></td>
</tr>
<tr>
<th>@lang('app.company_size')</th>
<td></td>
</tr>
<tr>
<th>@lang('app.about_company')</th>
<td></td>
</tr>
<tr>
<th>@lang('app.premium_jobs_balance')</th>
<td></td>
</tr>
</table>
@endif
@if( ! empty($is_user_id_view))
<a href="">
<i class="la la-pencil-square-o"></i> @lang('app.edit') </a>
@else
<a href=""><i class="la la-pencil-square-o"></i> @lang('app.edit') </a>
@endif
i want to view the profile and edit after i click the edit button.
Aucun commentaire:
Enregistrer un commentaire