CodeIgniter HMVC error after updating PHP to PHP 7

后端 未结 3 2012
忘了有多久
忘了有多久 2021-01-22 21:23

After updating 5.6 to PHP 7. I was using HMVC implementation of Code Igniter and PHP upgrade started throwing following errors:-

  1. A PHP Error was encountered Sev

3条回答
  •  没有蜡笔的小新
    2021-01-22 21:35

    I have fixed all issue. Bellow I have given:

     1.third_party\MX\Lang.php
        line = 134
        public function library($library = '', $params = NULL, $object_name = NULL) 
    
        2.third party\MX\Loder.php
         line=105
         pulic function helper($helper = array())
    
        3.third party\MX\Loder.php
         line=120
         pulic function helper($helper = array())
    
    
        4.third party\MX\Loder.php
         line=124
        public function language($langfile=array(), $idiom = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '') 
    
        5.third party\MX\Loder.php
         line=271
        public function  &_ci_get_component($component)
    
    
        6.third party\MX\Lang.php
         line=70
        public function load($langfile ='', $lang = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '', $_module = '')
    
    
        7.system/core/commopn.php
         line=257
             $_config[0] =& $config;
               return $_config[0];
    

提交回复
热议问题