Posts Tagged ‘Troubleshooting’

Fix Session problem when upgrading to CI 1.7.1

Posted in Troubleshooting on July 25th, 2009 by admin – Be the first to comment

If you encountered the following problem when upgrading from CodeIgniter 1.6.x to 1.7.x, then here is a workaround.

A PHP Error was encountered

Severity: 4096

Message: Object of class stdClass could not be converted to string

Filename: libraries/Session.php

Line Number: 715

A quick fix can be made by overriding Session class. As exposed at this forum thread, you can create MY_Session.php and place it under your libraries folder (When you place MY_ prefix, the class is automatically loaded).

Related searches:

  • a php error was encountered severity: 4096 message: object of class stdclass could not be converted to string
  • ci session problem
  • codeigniter 1 7 1 and session php and problem
  • codeigniter 1 7 1 session problem
  • Object of class DateTime could not be converted to string
  • object of class datetime could not be converted to string php