Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 298403

Notice: Undefined property: stdClass::$fid in file_usage_add() (line 689 of

$
0
0

Hi,

I am using field collection with entity translation image field and I am getting below error:
Notice: Undefined property: stdClass::$fid in file_usage_add() (line 689 of public_html/includes/file.inc).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'fid' 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] => [:db_insert_placeholder_1] => file [:db_insert_placeholder_2] => field_collection_item [:db_insert_placeholder_3] => 70 [:db_insert_placeholder_4] => 1 ) in file_usage_add() (line 696 of

After deleting error node if i am creating a new node it gives error sometimes.

Please let me know why this happening.


Viewing all articles
Browse latest Browse all 298403

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>