Welcome Guest, Not a member yet? Register   Sign In
Call to undefined method VI_Loader::_ci_load_class()
#1

I am try to update a site from CodeIgnitor 2.2.2 to 3.1.6

I am getting

A PHP Error was encountered
Severity: Warning
Message: Declaration of MX_Loader::helper($helper) should be compatible with CI_Loader::helper($helpers = Array)
Filename: MX/Loader.php
Line Number: 389
A PHP Error was encountered
Severity: Warning
Message: Declaration of MX_Loader::helpers($helpers) should be compatible with CI_Loader::helpers($helpers = Array)
Filename: MX/Loader.php
Line Number: 0
A PHP Error was encountered
Severity: Warning
Message: Declaration of MX_Loader::_ci_get_component($component) should be compatible with & CI_Loader::_ci_get_component($component)
Filename: MX/Loader.php
Line Number: 0
A PHP Error was encountered
Severity: Notice
Message: Only variables should be assigned by reference
Filename: core/Loader.php
Line Number: 784
A PHP Error was encountered
Severity: Notice
Message: Only variables should be passed by reference
Filename: MX/Loader.php
Line Number: 135
An uncaught Exception was encountered
Type: Error
Message: Call to undefined method VI_Loader::_ci_load_class()
Filename: /home/zqnoinxl/knutsford.burtonconstruction.net/application/libraries/MX/Loader.php
Line Number: 152



Line 152 is

$this->_ci_load_class($library, $params, $object_name);

VI_Loader is under the core library


cand start with

<?php (defined('BASEPATH')) OR exit('No direct script access allowed');

/* load the MX_Loader class */
require APPPATH."libraries/MX/Loader.php";

class VI_Loader extends MX_Loader {



Why can't it find it? Any ideas please


Thanks
Reply
#2

I downloaded the latest MX in the end
Reply
#3

The are all kinds of patches on the forums here to fix bugs in the HMVC so you need to search.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB