Here is a simple solution:
MX/Loader.php at line #301 replace _ci_object_to_array with _ci_prepare_view_vars
Lukman Hakim Mahrus
I think it's better for you to keep the script stay original and create a custom file with the same name (with prefix MY_) in /application/core/MY_Loader.php and then extended the loader class, and then copy the function that contain _ci_object_to_array, and then replace with _ci_prepare_view_vars..
Good solution but...since this is an "extension" to CI, and the issue exist in the extension, I think this issue must be fixed via extension level. Not on the user level (creating file with same name) or core level (CI itself).
Issue still existing when using grocery crud library
I confirm it works by replacing _ci_object_to_array with _ci_prepare_view_vars, with CI 3.1.4 .
Do you have any idea when this change will be added to the sources ?
Still not work in the latest version of codeigniter have to use Lukman Hakim Mahrus way