beta9-preview1

warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/feeds/profiles/managingnews/modules/contrib/feeds/includes/FeedsConfigurable.inc on line 124.

Feeds seem to have imported fine at this point

CommentFileSizeAuthor
#6 758664-6_fix_opml_import.patch1.1 KBalex_b
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alphakamp’s picture

**EDIT** every item has a title, but no feed url...

alex_b’s picture

Version: 6.x-1.0-beta6 »

Is your importer modified? Look at admin/build/feeds and check whether there are any importers with the status 'overridden'.

alphakamp’s picture

Status -- Default
Import OPML Import OPML files and create new feed subscriptions from it. [none] Default Override | Export | Clone

abelb’s picture

Issue tags: +import opml

I am having the same problem. I have not modified the importer.

although this was my error message:

warning: array_merge() [function.array-merge]: Argument #2 is not an array in /www/mn9/profiles/managingnews/modules/contrib/feeds/includes/FeedsConfigurable.inc on line 124.
warning: array_intersect_key() [function.array-intersect-key]: Argument #1 is not an array in /www/mn9/profiles/managingnews/modules/contrib/feeds/includes/FeedsConfigurable.inc on line 126.

I am importing a ompl file that I created from Google Reader. There are 303 subscriptions. How many subscriptions can MN handle on import?

also getting this error when running cron from command line using Drush:
WD FeedsScheduler: Download of failed with code -1003.
i got the error but also a message that said cron ran successfully.

When i click on a Feed, there are no feed items being pulled in and when i edit the feed, there is no feed url.

When i click on the pager to page 5, and then i click on either the feed title or the edit button, the Feed item list returns to page 1. But the proper Feed or Feed Edit page shows (still no feed items).

When i add a new feed manually, the feed items are pulled in correctly.

alex_b’s picture

Project: Managing News » Feeds
Version: » 6.x-1.0-alpha13
Assigned: Unassigned » alex_b

I can confirm this as a bug in Feeds alpha 13. Working on a fix.

alex_b’s picture

Version: 6.x-1.0-alpha13 » 6.x-1.x-dev
Assigned: alex_b » Unassigned
Priority: Normal » Critical
Status: Active » Needs review
FileSize
1.1 KB

This should fix the issue. Culprit: #740962-5: FileFetcher Attached to Feed Node, Upload Field Not Saving File Path started caching the $node->feed array between 'validate' and 'insert'/'update' stages. As OPML parser does not 'validate' a node before 'insert'ing it, the cache was empty, hence no URL was present and in addition, Feeds attempted to download the feed, causing the -1003 messages.

This patch fixes all problems reported here.

alex_b’s picture

Status: Needs review » Fixed

This is committed now. I am about to roll alpha 14 which will include this fix.

[edit: a fix will also be included in the final Managing News 1.0 beta 9 release.]

SocialNicheGuru’s picture

will this fix the issue of having an error that says: "String could not be parsed as XML"

http://drupal.org/node/705598

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

JBI’s picture

In managingnews beta1.9 the version of feeds is 6.x-1.0-alpha13.
and i have still this message with no feed url imported just title

Argument #2 is not an array in /home/clients/websites/w_7k9hqv/public_html/7k9hqv/profiles/managingnews/modules/contrib/feeds/includes/FeedsConfigurable.inc on line 124.
• warning: array_intersect_key() [function.array-intersect-key]: Argument #1 is not an array in /home/clients/websites/w_7k9hqv/public_html/7k9hqv/profiles/managingnews/modules/contrib/feeds/includes/FeedsConfigurable.inc on line 126.
• warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/clients/websites/w_7k9hqv/public_html/7k9hqv/profiles/managingnews/modules/contrib/feeds/includes/FeedsConfigurable.inc on line 124.