backdrop-contrib / seo_meta

SEO Meta Tags module for Backdrop CMS
GNU General Public License v2.0
4 stars 1 forks source link

"Column 'id' cannot be null" error #10

Closed robertgarrigos closed 6 years ago

robertgarrigos commented 6 years ago

When creating a new node I'm getting this error ONLY if I upload an image in the open graph part:

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'id' cannot be null: INSERT INTO {file_usage} (fid, module, type, id, count) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => 76 [:db_insert_placeholder_1] => seo_meta [:db_insert_placeholder_2] => node [:db_insert_placeholder_3] => [:db_insert_placeholder_4] => 1 ) a file_usage_add() (línia 687 de /core/includes/file.inc).

Once the node is created there is no problem to edit it and upload the open graph image

findlabnet commented 6 years ago

Thank you @robertgarrigos for reporting. On weekend I'll check what to do with it.

findlabnet commented 6 years ago

Fixed with release https://github.com/backdrop-contrib/seo_meta/releases/tag/1.x-1.0.11