All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Datagrab Not Displaying JSON Data From Arrays

Status Resolved
Add-on / Version DataGrab 4.0.3
Severity
EE Version 6.3.4

Doug Black

May 13, 2022

Looking to move data from one site to the other, and appears that the JSON feed is not bringing in the array of grid fields I set up in the feed.

In the feed it displays the outgoing data as a json array of objects, so I can bring in the fields to the grid appropriately.

However, in the select box for the grid field, the JSON array field is not displayed at all as an option.

There is no data in the logs.

#1

BoldMinded (Brian)

Can you share your import file so I can try to import it locally?

FYI I might not be able to really dig into this until early next week.

#2

BoldMinded (Brian)

Regarding the import file, I don’t need every entry to import, just send an import file with 2 or 3 entries in it.

#3

Doug Black

Comment has been marked private.

#4

BoldMinded (Brian)

Oh, sorry. I didn’t even click that b/c I thought it was the site itself. Thanks

#5

Doug Black

No worries! Site itself is still fully local. Production site has all of the old data.

#6

BoldMinded (Brian)

Ah, it’s because the first entry in the list doesn’t have those nodes. If the first entry has that nested object then it seems to work fine.

#7

Doug Black

I won’t have a lot of control over that kind of thing. Would that need to get fixed in the add-on? Or is there something else I should be doing on my end?

#8

BoldMinded (Brian)

Something to fix in the add-on. The previous release “fixed” one issue, but created this new issue.

#9

BoldMinded (Brian)

Comment has been marked private.

#10

Doug Black

That fixed it! Thanks Brian

#11

Doug Black

One more thing on this, when adding in the data from this feed, I get a notice and an error:

Undefined index: cf user/addons/datagrab/mcp.datagrab.php, line 998 Severity: E_NOTICE

TypeError Caught Argument 3 passed to Datagrab_grid::save_configuration() must be of the type array, null given, called in user/addons/datagrab/mcp.datagrab.php on line 998

Here’s video walkthrough: https://youtu.be/ISa0tYOMnYI

#12

BoldMinded (Brian)

Doug, did you try to delete and re-create the import configuration?

#13

Doug Black

It won’t even let me save the initial one.

#14

BoldMinded (Brian)

Comment has been marked private.

#15

Doug Black

Perfect, that worked to save and import! Thanks Brian!

#16

BoldMinded (Brian)

Comment has been marked private.

Login to reply