Closed (fixed)
Project:
Node export
Version:
8.x-1.x-dev
Component:
Node export
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2020 at 13:50 UTC
Updated:
6 Aug 2020 at 18:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gaurav.kapoor commentedThanks for raising the issue @hristos. I will work on this as soon as I get time.
Comment #3
gaurav.kapoor commented@hristos Can you share the exact steps to reproduce this issue?
Comment #4
hristos commentedselect any nodes by Views Bulk Operations in view, choose node export and appears this error
Comment #5
hristos commentedLook at attached file . When click apply to selected items appears The website encountered an unexpected error. Please try again later.
TypeError: Argument 1 passed to Drupal\node_export\NodeExport::export() must be of the type array, null given, called in /var/www/mydomain/modules/node_export/src/Form/BulkNodeExport.php on line 105 in Drupal\node_export\NodeExport::export() (line 60 of modules/node_export/src/NodeExport.php).
After last update now too.
When click back on browser arrow see second attached file
Comment #6
hristos commentedComment #7
hristos commentedComment #8
rasikap commentedComment #9
rasikap commentedPlease find the patch that fix this issue.
Thanks!
Comment #10
hristos commentedUsed Content: Node operations bulk form (Node operations bulk form) in view its ok
Used module : Views Bulk Operations Version: 8.x-3.8 in view - the same error
But it doesn't matter it works
Thanks
Comment #11
sajid_007 commented#9 worked for me. Thanks @rasikap
Comment #13
gaurav.kapoor commentedComment #15
chuck_theobald commentedI am still getting this error on one of my sites. Trying to export using the VBO action Node Export gives a WSOD with "The website encountered an unexpected error. Please try again later."
Log entries as are previously documented. I have confirmed that my site build is using revision 6f77fa7d45940c7c0369f9dc4c2d2a04d05131c8. I suspect that the null rather than an Array is being supplied by something external to this module, perhaps in the VBO interface.
I did find a work-around. Export the desired nodes by Node ID. IMO, it was a brilliant decision to provide that method of export, thank you!
Big caveat: When importing to the target site, be sure the configuration When importing a node that already exists is set to "Create a new node."