• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Session loaded multiple times

#1
Hi,
i am using codeigniter 3.xx. I got the following error on every pageview:
DEBUG - 2020-02-11 14:36:39 --> Session class already loaded. Second attempt ignored

The session is loaded with in the autoload config and i can not find the
$this->load->library('session'); anywhere in the code so i think it should not load twice.

can someone tell me how to fix this?

thanks and best regards,
Alex
Reply

#2
It is not an error. It's only a bit of info you can use to optimize your code. As the message says, the attempt is ignored and the session is not loaded again.

Even though you cannot find it, there must be a line of code that runs $this->load->library('session');

What piece of code is always executed? Look in those places for redundant load attempt.
Reply

#3
(02-11-2020, 11:01 AM)dave friend Wrote: It is not an error. It's only a bit of info you can use to optimize your code. As the message says, the attempt is ignored and the session is not loaded again.

Even though you cannot find it, there must be a line of code that runs $this->load->library('session');

What piece of code is always executed? Look in those places for redundant load attempt.

HI, i found it an managed to solve this Smile

thanks
alex
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme ¬© 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.