CodeIgniter Forums

Full Version: Array to string conversion Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I get the following error
A PHP Error was encountered
Severity: Notice
Message: Array to string conversion
Filename: database/DB_query_builder.php
Line Number: 676
Backtrace:
File: C:\wamp\www\stockfeb2017\app\models\Products_model.php
Line: 66
Function: where
File: C:\wamp\www\stockfeb2017\app\controllers\Products.php
Line: 635
Function: getProductOptionsWithWH


How can I sort this?

Many Thanks
Hye,
Perhaps give more information, check your code before for example.
Show your code where you are getting the error, usually this error is because your trying to convert an array or object to a string type.