Welcome Guest, Not a member yet? Register   Sign In
Cannot access protected property CodeIgniter\HTTP\IncomingRequest::$uri
#1

Hello I followed the steps to upgrade from 4.4.8 to 4.5.0 ,

but i get this error

Cannot access protected property CodeIgniter\HTTP\IncomingRequest::$uri on line 75

PHP Code:
      // $this->language->setLocale($this->session->lang); 
69        // Preload any models, libraries, etc, here.    
70 
71        
// Determine whether to include the template or not
72            $excludedUrls = ['home','/','',NULL'about''login','register','users','/users/register','users/registerUser','registerUser','blog''contact'];
73 
74            
// Get the request URI segment 1
75            $requestUri $this->request->uri->getSegments();
76            $this->includeTemplate false;
77            foreach ($requestUri as $urisegment){
78 

Any ideas on the cause of the issue? thx
Reply


Messages In This Thread
Cannot access protected property CodeIgniter\HTTP\IncomingRequest::$uri - by ramonpuig - 04-09-2024, 06:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB