On the /admin/config/media/duplicate-images?op=delete page, I'm seeing the "An error occurred. Please run the wizard step by step, starting at the First step. Note that for now, you cannot use the back button." & "If this message appears while following the process. See Recent log messages for details." messages appearing, with nothing showing up under Recent log messages.

When looking in more depth at the actual exception that's thrown, it's coming from duplicate_images_get_form_submit(), with the message "Unable to save a field collection item without a valid reference to a host entity." That's getting raised by this code in field_collection.entity.inc:
public function save($skip_host_save = FALSE) {
// Make sure we have a host entity during creation.
if (!empty($this->is_new) && !(isset($this->hostEntityId) || isset($this->hostEntity) || isset($this->hostEntityRevisionId))) {
throw new Exception("Unable to create a field collection item without a given host entity.");
}

Not really sure where to go from here though, so over to you experts!

CommentFileSizeAuthor
#4 exception.txt837.41 KBjad
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jad created an issue. See original summary.

fietserwin’s picture

Can you post the full stack trace?

jad’s picture

jad’s picture

FileSize
837.41 KB

Not sure why my comment isn't appearing, perhaps the trace was too long.
By a full stack trace, do you mean a dvr() of the Exception? Hoping so...I've attached it this time in case that's why my comment didn't appear first time. If this isn't what you need, let me know.

jad’s picture

Just bumping this a bit - anyone got any thoughts on this??