⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

stdClass cannot be converted to String error



pottapitot

pottapitot
  • profile picture
  • Member

Posted 29 November 2015 - 18:39 PM

Hi,
 
I am trying to setup grocerycrud and SB Admin 2. I am getting the below error.
 
 
A PHP Error was encountered
Severity: 4096
Message: Object of class stdClass could not be converted to string
Filename: default/aegis.php
Line Number: 9
 
This is the relevant code
 
controller
 
$output = $crud->render();
$data['findings'] = $output;
$data['page'] = $this->config->item('aegis_template_dir_admin') . "aegis";
$this->load->view($this->_container, $data);
 
view (Line 9 mentioned in error)
 
<?php echo $findings; ?>
 
 
How can I pass grocerycrud?
 
Thanks in advance.