Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14115

system/core/loader.php error line 1381 on CI 3.1.3 download

$
0
0
Hye,
There is an error on system/core/loader.php line 1381 when you download the last version of CI via codeigniter.com (i try today 10 january at 20h30 Paris France).
Otherwise, on github, no error.

You are :
PHP Code:
protected function _ci_prepare_view_vars($vars)
 {
 if ( ! 
is_array($vars))
 {
 
$vars is_object($vars)
 ? 
get_object_vars($object  // here the error. Replace $object by $vars ;)
 
: array();
 }

 foreach (
array_keys($vars) as $key)
 {
 if (
strncmp($key'_ci_'4) === 0)
 {
 unset(
$vars[$key]);
 }
 }

 return 
$vars;
 } 

Viewing all articles
Browse latest Browse all 14115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>