Hi -
Help!
Since upgrade from 1.7.8 to 1.7.17 we've been having issues saving updates to Object records. The database didn't change, only the application. The Schema in 158. The database is MariaDB 10.4.42. What could be going wrong?
The full (anonymised) error is:
`Something went wrong
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')) AND (l.is_preferred = 1) ORDER BY loc.name' at line 4 in /opt/providence/app/lib/Db/mysqli.php line 316:
Warning: join(): Invalid arguments passed in /opt/providence/themes/default/views/system/fatal_error_html.php on line 52
In Db_mysqli->execute() in DbStatement line 151
Warning: join(): Invalid arguments passed in /opt/providence/themes/default/views/system/fatal_error_html.php on line 52
At DbStatement->executeWithParamsAsArray() in Db line 261
Warning: join(): Invalid arguments passed in /opt/providence/themes/default/views/system/fatal_error_html.php on line 52
At Db->query() in LabelableBaseModelWithAttributes line 1812
Warning: join(): Invalid arguments passed in /opt/providence/themes/default/views/system/fatal_error_html.php on line 52
At LabelableBaseModelWithAttributes->getLabels() in LabelableBaseModelWithAttributes line 364
Warning: join(): Invalid arguments passed in /opt/providence/themes/default/views/system/fatal_error_html.php on line 52
At LabelableBaseModelWithAttributes->replaceLabel() in BundlableLabelableBaseModelWithAttributes line 4045
Warning: join(): Invalid arguments passed in /opt/providence/themes/default/views/system/fatal_error_html.php on line 52
At BundlableLabelableBaseModelWithAttributes->saveBundlesForScreen() in BaseEditorController line 302
Warning: join(): Invalid arguments passed in /opt/providence/themes/default/views/system/fatal_error_html.php on line 52
At BaseEditorController->Save() in RequestDispatcher line 273
Warning: join(): Invalid arguments passed in /opt/providence/themes/default/views/system/fatal_error_html.php on line 52
At RequestDispatcher->dispatch() in AppController line 113
Warning: join(): Invalid arguments passed in /opt/providence/themes/default/views/system/fatal_error_html.php on line 52
At AppController->dispatch() in index line 120
Request parameters:
_formName => ObjectEditorForm
form_timestamp => 1717693538
csrfToken => 27d01b3f59c2cbf16a5d26426d43c3bc861f88096ff382c0122c70e6e5bd5685
idno_accession_number => 20110725-0496
P752ObjectEditorForm_attribute_367_367_113331 =>
P752ObjectEditorForm_attribute_367_locale_id_113331 => 1
P495ObjectEditorForm_Prefname_498 => Lorem ipsum dolor sit amet
P495ObjectEditorForm_Preflocale_id_498 => 1
P491ObjectEditorForm_attribute_493_493_4891 => Lorem ipsum dolor sit amet
P491ObjectEditorForm_attribute_493_locale_id_4891 => 1
P492ObjectEditorForm_attribute_494_494_4892 => 13354-60005
P492ObjectEditorForm_attribute_494_locale_id_4892 => 1
P493ObjectEditorForm_attribute_495_495_4893 => B-1845
P493ObjectEditorForm_attribute_495_locale_id_4893 => 1
P490ObjectEditorForm_attribute_492_492_4894 => Lorem ipsum
P490ObjectEditorForm_attribute_492_locale_id_4894 => 1
P494ObjectEditorForm_autocompletenew_0 =>
P494ObjectEditorForm_idnew_0 =>
P494ObjectEditorFormBundleList => new_0
P561ObjectEditorForm_attribute_507_507_4895 =>
P561ObjectEditorForm_attribute_507_locale_id_4895 => 1
P562ObjectEditorForm_attribute_508_508_4896 =>
P562ObjectEditorForm_attribute_508_locale_id_4896 => 1
P563ObjectEditorForm_attribute_368_368_4897 => 543
P564ObjectEditorForm_attribute_283_283_113332 =>
P501ObjectEditorForm_RelationBundleSortControl =>
P501ObjectEditorForm_RelationBundleSortDirectionControl => ASC
P501ObjectEditorForm_type_id10612 => ltor_17
P501ObjectEditorForm_id10612 => 1232
P501ObjectEditorFormBundleList =>
P744ObjectEditorForm_attribute_359_359_113333 =>
P744ObjectEditorForm_attribute_359_locale_id_113333 => 1
P685ObjectEditorFormBundleList =>
P502ObjectEditorForm_is_primary_521 =>
P502ObjectEditorForm_rep_label_521 => Lorem ipsum dolor sit amet
P502ObjectEditorForm_idno_521 =>
P502ObjectEditorForm_access_521 => 1
P502ObjectEditorForm_status_521 => 0
P502ObjectEditorForm_upload_type521 => upload
P502ObjectEditorForm_center_x_521 =>
P502ObjectEditorForm_center_y_521 =>
P502ObjectEditorForm_ObjectRepresentationBundleList => 521
P503ObjectEditorForm_attribute_63_67_4898 => 30 October 2011
P503ObjectEditorForm_attribute_63_65_4898 => 525
P503ObjectEditorForm_attribute_63_502_4898 => 535
P503ObjectEditorForm_attribute_63_69_4898 =>
P503ObjectEditorForm_attribute_63_locale_id_4898 => 1
P504ObjectEditorForm_attribute_19_19_4899 => Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam...
P504ObjectEditorForm_attribute_19_locale_id_4899 => 1
P679ObjectEditorForm_RelationBundleSortControl =>
P679ObjectEditorForm_RelationBundleSortDirectionControl => ASC
P679ObjectEditorForm_type_id10 => 11
P679ObjectEditorForm_id10 =>
P679ObjectEditorFormBundleList => 10
P680ObjectEditorForm_RelationBundleSortControl =>
P680ObjectEditorForm_RelationBundleSortDirectionControl => ASC
P680ObjectEditorForm_type_id1246 => ltor_50
P680ObjectEditorForm_id1246 => 1
P680ObjectEditorFormBundleList =>
object_id => 512
collection_id =>
above_id =>
is_save_and_return => 0
rel_table =>
rel_type_id =>
rel_id =>
after_id =>`