Closed (fixed)
Project:
Feeds Tamper
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2015 at 17:54 UTC
Updated:
1 Jun 2016 at 23:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
skowyra commentedComment #3
twistor commentedWhat is the plugin that doesn't have a callback?
Comment #4
TimelessDomain commentedIt may be https://www.drupal.org/project/feeds_tamper_string2id
Got these 2 errors together
Notice: Undefined index: iconv in feeds_tamper_load_by_importer() (line 169 of /sites/all/modules/feeds_tamper/feeds_tamper.inc).
Warning: trim() expects parameter 1 to be string, array given in feeds_tamper_string2id_resolve_target_callback_via_autocomplete() (line 378 of /sites/all/modules/feeds_tamper_string2id/plugins/string2id.inc).
Comment #5
ttronslien commentedI do too get this error. Digging further, I get the error on a field that does not have a plugin, at least not in the UI. When I view the db, I see an entry in the feeds_tamper table for the field, but no plugin_id (Images attached.) From what I can remember (and the feed was created today) I never created a tamper for that field, I may have opened the dialogue, but I am pretty sure that I did not save any.
So, the real problem does not start where it appears.
I've created a patch to check if the index exists before it's trying to use it as it solves the problem for now, but I don't think it is the real issue.
Comment #6
ttronslien commentedComment #7
ttronslien commentedComment #8
FranCarstens commentedThis started showing immediately when I accidently hit "add" before completing the tamper settings. An "ajax" error showed up in the error dialogue. Watchdog has this:
First error:
Now this message shows all the time:
My guess is it's an incomplete tamper that triggers this error.
Comment #9
FranCarstens commentedA quick look in the database found the row easy enough. Once I deleted the offending row (missing plugin_id) the error went away.
Comment #10
krystianbuczak commentedConfirm after applying patch from #5 notice disappeared.
Comment #12
twistor commentedComment #13
twistor commented