php - Fatal Error Exception in Laravel app -


i have problem laravel 5.1 app. php version 5.6.16.
doing wrong?

fatalerrorexception in d4c2ea460399317ac416d4c481ae27fb line 75: syntax error, unexpected ')', expecting identifier (t_string) or variable (t_variable) or '{' or '$'

<?php $__env->startsection('content'); ?> <?php /**/ usort($tablegrid, "sitehelpers::_sort") /**/ ?>  <div class="page-content row">   <!-- page header -->   <div class="page-header">     <div class="page-title">       <h3> <?php echo e($pagetitle); ?> <small><?php echo e($pagenote); ?></small></h3>     </div>      <ul class="breadcrumb">       <li><a href="<?php echo e(url::to('dashboard')); ?>"> dashboard </a>       </li>       <li class="active">         <?php echo e($pagetitle); ?>       </li>     </ul>   </div>     <div class="page-content-wrapper m-t">      <div class="sbox animated fadeinright">       <div class="sbox-title">         <h5> <i class="fa fa-table"></i> </h5>         <div class="sbox-tools">           <a href="<?php echo e(url($pagemodule)); ?>" class="btn btn-xs btn-white tips" title="clear search"><i class="fa fa-trash-o"></i> clear search </a>           <?php if(session::get( 'gid')==1): ?>           <a href="<?php echo e(url::to('sximo/module/config/'.$pagemodule)); ?>" class="btn btn-xs btn-white tips" title=" <?php echo e(lang::get('core.btn_config')); ?>"><i class="fa fa-cog"></i></a>           <?php endif; ?>         </div>       </div>       <div class="sbox-content">         <div class="toolbar-line ">           <?php if($access[ 'is_add']==1): ?>           <a href="<?php echo e(url::to('regate/update')); ?>" class="tips btn btn-sm btn-white" title="<?php echo e(lang::get('core.btn_create')); ?>">             <i class="fa fa-plus-circle "></i>&nbsp;             <?php echo e(lang::get( 'core.btn_create')); ?>           </a>           <?php endif; ?>           <?php if($access[ 'is_remove']==1): ?>           <a href="javascript://ajax" onclick="sximodelete();" class="tips btn btn-sm btn-white" title="<?php echo e(lang::get('core.btn_remove')); ?>">             <i class="fa fa-minus-circle "></i>&nbsp;             <?php echo e(lang::get( 'core.btn_remove')); ?>           </a>           <?php endif; ?>           <a href="<?php echo e(url::to( 'regate/search')); ?>" class="btn btn-sm btn-white" onclick="sximomodal(this.href,'advance search'); return false;"><i class="fa fa-search"></i> search</a>               <?php if($access[ 'is_excel']==1): ?>           <a href="<?php echo e(url::to('regate/download?return='.$return)); ?>" class="tips btn btn-sm btn-white" title="<?php echo e(lang::get('core.btn_download')); ?>">             <i class="fa fa-download"></i>&nbsp;             <?php echo e(lang::get( 'core.btn_download')); ?>           </a>           <?php endif; ?>          </div>            <?php echo form::open(array( 'url'=>'regate/delete/', 'class'=>'form-horizontal' ,'id' =>'sximotable' )); ?>          <div class="table-responsive" style="min-height:300px;">           <table class="table table-striped ">             <thead>               <tr>                 <th class="number">no</th>                 <th>                   <input type="checkbox" class="checkall" />                 </th>                  <?php foreach($tablegrid $t): ?>                 <?php if($t[ 'view']=='1' ): ?>                 <?php $limited=i sset($t[ 'limited']) ? $t[ 'limited'] : ''; ?>                 <?php if(sitehelpers::filtercolumn($limited )): ?>                  <th>                   <?php echo e($t[ 'label']); ?>                 </th>                 <?php endif; ?>                 <?php endif; ?>                 <?php endforeach; ?>                 <th width="70">                   <?php echo e(lang::get( 'core.btn_action')); ?>                 </th>               </tr>             </thead>              <tbody>               <?php foreach($rowdata $row): ?>               <tr>                 <td width="30">                   <?php echo e(++$i); ?>                 </td>                 <td width="50">                   <input type="checkbox" class="ids" name="ids[]" value='<?php echo e($row->); ?>' />                 </td>                 <?php foreach($tablegrid $field): ?>                 <?php if($field[ 'view']=='1' ): ?>                 <?php $limited=i sset($field[ 'limited']) ? $field[ 'limited'] : ''; ?>                 <?php if(sitehelpers::filtercolumn($limited )): ?>                 <td>                   <?php if($field[ 'attribute'][ 'image'][ 'active']=='1' ): ?>                   <?php echo sitehelpers::showuploadedfile($row->$field['field'],$field['attribute']['image']['path']); ?>                    <?php else: ?>                   <?php /**/ $conn=( isset($field[ 'conn']) ? $field[ 'conn'] : array() ) /**/ ?>                   <?php echo sitehelpers::griddisplay($row->$field['field'],$field['field'],$conn); ?>                   <?php endif; ?>                 </td>                 <?php endif; ?>                 <?php endif; ?>                 <?php endforeach; ?>                 <td>                   <?php if($access[ 'is_detail']==1): ?>                   <a href="<?php echo e(url::to('regate/show/'.$row->.'?return='.$return)); ?>" class="tips btn btn-xs btn-primary" title="<?php echo e(lang::get('core.btn_view')); ?>"><i class="fa  fa-search "></i></a>                   <?php endif; ?>                   <?php if($access[ 'is_edit']==1): ?>                   <a href="<?php echo e(url::to('regate/update/'.$row->.'?return='.$return)); ?>" class="tips btn btn-xs btn-success" title="<?php echo e(lang::get('core.btn_edit')); ?>"><i class="fa fa-edit "></i></a>                   <?php endif; ?>                   </td>               </tr>                <?php endforeach; ?>              </tbody>            </table>           <input type="hidden" name="md" value="" />         </div>         <?php echo form::close(); ?>          <?php echo $__env->make('footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>       </div>     </div>   </div> </div>  <script>   $(document).ready(function() {      $('.do-quick-search').click(function() {       $('#sximotable').attr('action', '<?php echo e(url::to("regate/multisearch")); ?>');       $('#sximotable').submit();     });    }); </script>  <?php $__env->stopsection(); ?> <?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> 

view code on pastebin

this kind of error happen because of missing primary key @ table module use. check if table has primary key. if not, create , create module again.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -