i receive "Created 10 News nodes."
but news nodes not created
this message is fake
i receive "warning: Invalid argument supplied for foreach() in /home/soloisla/domains/soloislam.com/public_html/modules/taxonomy/taxonomy.module on line 1242."
when i run cron too
that is really funny that I'm not find that what is this message

$feeds_importer = new stdClass;
$feeds_importer->disabled = FALSE; /* Edit this to true to make a default feeds_importer disabled initially */
$feeds_importer->api_version = 1;
$feeds_importer->id = 'press_tv';
$feeds_importer->config = array(
'name' => 'press tv',
'description' => 'press tv',
'fetcher' => array(
'plugin_key' => 'FeedsHTTPFetcher',
'config' => array(
'auto_detect_feeds' => FALSE,
'use_pubsubhubbub' => FALSE,
'designated_hub' => '',
'parser' => array(
'plugin_key' => 'FeedsSyndicationParser',
'config' => array(),
'processor' => array(
'plugin_key' => 'FeedsNodeProcessor',
'config' => array(
'content_type' => 'newsimported',
'input_format' => '0',
'update_existing' => '1',
'expire' => '2419200',
'mappings' => array(
0 => array(
'source' => 'title',
'target' => 'title',
'unique' => FALSE,
1 => array(
'source' => 'description',
'target' => 'body',
'unique' => FALSE,
2 => array(
'source' => 'url',
'target' => 'field_news_link_source',
'unique' => FALSE,
'author' => 0,
'content_type' => '',
'update' => 0,
'import_period' => '1800',
'expire_period' => 3600,
'import_on_create' => 1,


mskicker’s picture

Title: nodes created "Created 10 News nodes." » croupted node created

i check the nodes that created by Feeds modules
problem was about user name that assigned to their node
that uid was not valid in user table

Vote_Sizing_Steve’s picture

I followed the instructions in http://drupal.org/node/622700:

$node = new stdClass();
$node->type = 'feed';
$node->title = 'My feed';
$node->feeds['FeedsHTTPFetcher']['source'] = 'http://example.com/rss.xml';

... and I have added about 8 corrupt nodes into the db (node_delete, node_load, content... won't find the node; although views can). I'm very weary of trying to find the bad records in the db without some guidance. I've ran a:

SELECT * FROM `node` WHERE `type` = 'feed' AND `uid` = '1' ORDER BY `nid`

... query, and replaced the uid 0's with 1's, and then vbo deleted the corrupt nodes, but still want to make sure, here, that that's all that needs to be done. Please advise.

EvanDonovan’s picture

Status: Active » Postponed (maintainer needs more info)

@mskicker: Maybe you should assign the nodes to created to be owned by a user, not user 0, which is anonymous?

@Vote_Sizing_Steve: I think your issue is different. It is not a bug with Feeds, but means that you did not set the $node->uid, which I believe needs to be set. You should make sure the nodes are deleted from at least the node and node_revisions tables to fully remove them.

greggles’s picture

Priority: Critical » Normal
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Marking this to "closed (cannot reproduce)" since it's been more than 2 weeks in "needs more info" without steps to reproduce.

Please re-open if you can post more details.