• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A Database Error Occurred Error Number: 1054 Unknown column 'Array' in 'field list

#1
I am getting the following error while adding the values to database . Though the values are being added in the database but the page with the errors shows up.

A PHP Error was encountered

Severity: Notice

Message: Array to string conversion

Filename: database/DB_driver.php

Line Number: 1476

Backtrace:

File: /var/www/inorasrs4/srs4code/application/models/Logger_model.php
Line: 8
Function: insert

File: /var/www/inorasrs4/srs4code/application/controllers/Calibration.php
Line: 47
Function: write

File: /var/www/inorasrs4/srs4code/application/controllers/Calibration.php
Line: 250
Function: add

File: /var/www/inorasrs4/srs4code/index.php
Line: 315
Function: require_once


Error Number: 1054

Unknown column 'Array' in 'field list'

INSERT INTO `logs` (`message`, `action`, `username`) VALUES (Array, 'Add Calibration', 'srs4')

Filename: models/Logger_model.php

Line Number: 8

Could anyone help me in eliminating this error. Thanks in anticipation.
Reply


Messages In This Thread
A Database Error Occurred Error Number: 1054 Unknown column 'Array' in 'field list - by raminderrandhawa - 02-16-2017, 01:14 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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