Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
i try to save the product after modify some details, for example price, body, image, ... it says :
The website encountered an unexpected error. Please try again later.
in the log :
drupal: http://.../node/27/edit?destination=%2Fadmin%2Fcontent|http://.../node/27/edit?destination=/admin/content|1||Recoverable fatal error: Object of class Drupal\Core\Field\FieldItemList could not be converted to string in Drupal\Core\Database\Statement->execute() (line 64 of .../core/lib/Drupal/Core/Database/Statement.php).
I understand that is some database select or update, but i can not find where it is :(
Comments
Comment #2
TR CreditAttribution: TR commentedI edit those product fields on my site all the time and I have never seen that error, and I can't reproduce the error on a clean install of the current version of Drupal 8.0.x and Ubercart 8.x-4.x.
Please provide details about how to reproduce the error, and preferably demonstrate this on simplytest.me so we can eliminate your custom code or themes as the source of the error.
Comment #3
TR CreditAttribution: TR commented