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: strpos():Empty Needle

Status Resolved
Add-on / Version DataGrab 4.0.5
Severity
EE Version 7.1.5

Jeff Maciorowski

Sep 26, 2022

I am getting the following error

strpo()Empty needle
ee/ExpresionEngine/Model/Channel/ChannelEntry.php line 736

Severity: e_warning

This may have to do with importing images from a URL

I do have a upload diretory setup for S3 using EE’s Cloud Addon. Testing it normally it works fine.

Seems that it is creating categories fine, but I am not seeing any entries created at all.  Nothing.

I have two jobs setup.  The first one has 1700+ entries to import. The [clone] has 15, so if you want to test, test with the clone version.

#1

BoldMinded (Brian)

Thanks for providing CP access, but I don’t login to CPs unless it’s a last resort. Can you please provide screenshots of your import config and example import file with just 2 or 3 entries? Thank you.

#2

BoldMinded (Brian)

Comment has been marked private.

#3

Jeff Maciorowski

Comment has been marked private.

#4

BoldMinded (Brian)

Comment has been marked private.

#5

Jeff Maciorowski

So I tried the new version and I was able to do a pretty big import. It grabbed over 1700 files. Not sure what it missed but it is off by like 40 items. I will figure that out.

Still getting the following error: Severity: E_WARNING Warning strpos(): Empty needle ee/ExpressionEngine/Model/Channel/ChannelEntry.php, line 736

The import of images is working and making its way to Amazon S3

#6

Jeff Maciorowski

Comment has been marked private.

#7

BoldMinded (Brian)

Glad it’s working better. I need to see the full stack trace, “ee/ExpressionEngine/Model/Channel/ChannelEntry.php, line 736” doesn’t tell me anything if I don’t know what is calling it.

#8

Jeff Maciorowski

How do I enable that to get the full details of the error?

#9

Jeff Maciorowski

My one other question is. Is there any way to get a log of why something isn’t being imported? I have these 20-30 items that it goes through. They don’t exist, it just looks like it may be skipping over them. Is there any way to know why?

#10

BoldMinded (Brian)

It should be in the DataGrab-import.log file. https://docs.boldminded.com/datagrab/docs/troubleshooting

#11

BoldMinded (Brian)

There isn’t another option to add more info, it’s just recording what it is told to. It should say if it’s getting created or updated in the log though.

#12

Jeff Maciorowski

Comment has been marked private.

#13

BoldMinded (Brian)

Sounds similar to this ticket, which I don’t have plans to add, but can be done if you use the hook and write a custom extension. https://boldminded.com/support/ticket/2473

#14

Jeff Maciorowski

Comment has been marked private.

#15

BoldMinded (Brian)

Maybe, but it’ll be at least 2 weeks before I can start on it.

#16

BoldMinded (Brian)

Comment has been marked private.

Login to reply