Closed (fixed)
Project:
Feeds Paragraphs
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 May 2020 at 20:48 UTC
Updated:
9 Oct 2025 at 13:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mfv commentedAlso when running the import I get the following error:
Notice: Undefined variable: field in /docroot/modules/contrib/feeds_para_mapper/src/Importer.php on line 730Comment #3
demonde commentedI get two errors, maybe related
Notice: Array to string conversion in Drupal\feeds_para_mapper\Feeds\Target\WrapperTarget->getSummary() (line 283 of /modules/feeds_para_mapper/src/Feeds/Target/WrapperTarget.php)and
LogicException: The database connection is not serializable. This probably means you are serializing an object that has an indirect reference to the database connection. Adjust your code so that is not necessary. Alternatively, look at DependencySerializationTrait as a temporary solution. in Drupal\Core\Database\Connection->__sleep() (line 1546 of /core/lib/Drupal/Core/Database/Connection.php)The import fails using Drupal 8.8.x
Comment #4
danharper commentedIm getting the same issue, nothing will save in the mapping UI.
So currently this module doesn't work with anything great than 8.8.x.
I'm not sure how people are importing paragraphs without this module apart from creating separate feeds.
Comment #5
damienmckennaI haven't tested it yet (the field mapper doesn't respond after installing this module), but does this help?
Comment #6
joseph.olstadComment #7
joseph.olstadComment #8
joseph.olstadNeeds review
Comment #9
ivanhelguera commentedWhen applying the patch to 8-1.x branch, i get this code:
$final_str .= "<br>" . $temp_sum;makes it a string, and then
$final_str[] = $this->t($final_str, $args);treats it as an array? That gives an `[] operator not supported` error.
Comment #10
ivanhelguera commentedA simpler solution perhaps is to convert
$sumto string if it's an array when it's being created.Comment #12
joseph.olstad