CodeIgniter Forums

Full Version: Error After Migration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I just migrated from 2.2.6 to 3.0.4 and followed all the items listed in the migration document. But After migration I am getting this error if I enable logging.

Code:
A PHP Error was encountered
Severity: Notice
Message: Array to string conversion
Filename: core/Log.php
Line Number: 207

A PHP Error was encountered
Severity: Notice
Message: Array to string conversion
Filename: core/Log.php
Line Number: 207

I cannot figure out what exactly is wrong and how do I go about debugging it.
When you migrate your CI 2 to 3 did you delete and replace the old SYSTEM folder or overwrite it ? (the correct action is delete and replace)
I deleted it & then copied the new system folder.
anyone has any idea why is this happening?
Yes, you're passing arrays either to log_message() or directly to CI_Log::write_log(). Neither is allowed.