Message: Call to undefined method MY_Loader::_ci_object_to_array()

It seems that this is caused by Codeigniter 3 changing an internal function. I am not going to chase down the specific commit where this happened.

The fix is this; On line 300 in file /application/third_party/MX/Loader.php

//return $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_object_to_array($vars), '_ci_return' => $return));
return $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_prepare_view_vars($vars), '_ci_return' => $return));

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.