Can someone help me with this error, when 1054 Unknown column 'Array' in 'field list'
[27-Oct-2021 09:15:04 Europe/Berlin] PHP Notice: Array to string conversion in C:\xampp\htdocs\joomla20\plugins\breezingforms_addons\gdata\gdata.php on line 398
The code is:
$db->setQuery("Update #__breezingforms_addons_gdata Set
`enabled` = ".JRequest::getInt('gdata_enabled', 0).",
".($accessToken || $reset_accessToken ? "`password` = " . $db->quote($accessToken).',' : '')."
`spreadsheet_id` = ".$db->quote(trim($gspid) == '' ? "''" : $gspid).",
`worksheet_id` = ".$db->quote(trim($wid) == '' ? "''" : $wid).",
`fields` = ".$db->quote($_POST['gdata_fields']).",
`meta` = ".$db->quote($_POST['gdata_meta'])."
".($reset_accessToken ? ",`custom_client_id` = " . $db->quote("34263101371-4rcre0p6r9ehuhoat1d6ls8u84etuanp.apps.googleusercontent.com").', `custom_client_secret` = ' . $db->quote("IDq59sdLo6wC81KCUweDKVf2") : '')."
Where form_id = " . intval($form_id) . "
");
$db->query();
}
The 398 line of code is:
".($accessToken || $reset_accessToken ? "`password` = " . $db->quote($accessToken).',' : '')."
What I do wrong?
Any help?