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: PHP errors on installing

Status Resolved
Add-on / Version DataGrab 4.2.1
Severity
EE Version 6.4.4

GabbaTheHutt

Jul 15, 2023

Please note that the relevant website is hosted in the root of the folder “public_html”. This is a shared hosting package and contains multiple websites.

When DataGrab is installed, I get the following PHP errors on the DataGrab addon settings page:

Notice
Undefined index:
user/addons/datagrab/mcp.datagrab.php, line 110

Severity: E_NOTICE
Notice
Undefined index:
user/addons/datagrab/mcp.datagrab.php, line 110

Severity: E_NOTICE
Notice
Undefined index:
user/addons/datagrab/mcp.datagrab.php, line 110

Severity: E_NOTICE
Notice
Undefined index:
user/addons/datagrab/mcp.datagrab.php, line 110

Severity: E_NOTICE
Notice
Undefined index:
user/addons/datagrab/mcp.datagrab.php, line 110

Severity: E_NOTICE
Notice
Undefined index:
user/addons/datagrab/mcp.datagrab.php, line 110

Severity: E_NOTICE
Notice
Undefined index:
user/addons/datagrab/mcp.datagrab.php, line 110

Severity: E_NOTICE
Notice
Undefined index:
user/addons/datagrab/mcp.datagrab.php, line 110

Severity: E_NOTICE

#1

GabbaTheHutt

Jul 15, 2023

Also I cannot access the “Configure import” option.

#2

GabbaTheHutt

Jul 15, 2023

The “Configure import” option didn’t work for old imports, but did for newly created ones.

#3

BoldMinded (Brian)

Jul 17, 2023

You just installed DG version 4 for the first time? DG version 5 has been out for a few weeks, because of that I don’t support version 4 anymore as it’s no longer for sale.

#4

GabbaTheHutt

Jul 17, 2023

Hi Brian

I have paid for this, but not used it. Are you saying that, because the new version has been out “for a few weeks”, that I am going to have pay for it again because it is no longer supported? Can you help me in any way? Or do I have to pay again?

Many thanks
Gabe

#5

BoldMinded (Brian)

Jul 18, 2023

You should be able to grab the newest version for free if you purchased v4 in the last year.

#6

BoldMinded (Brian)

Jul 18, 2023

You can download the new version from your account on this site, or expressionengine.com, depends on where you bought it.

#7

GabbaTheHutt

Jul 18, 2023

I have just download v5, extracted it and uploaded it to the server, but it does not appear on the addons screen, hence I cannot install it. I deleted it and repeated the process and the same thing happened.

#8

BoldMinded (Brian)

Jul 18, 2023

Are you positive you’re uploading the files to the correct location? Version 5 replaces version 4, so you won’t see anything new in the Add-ons screen. You should see though that the Updates tab has a red (1) in it to run the updates.

#9

GabbaTheHutt

Jul 18, 2023

I simply replaced the old DataGrab folder with the new one. There is no update available

#10

BoldMinded (Brian)

Jul 18, 2023

Where did you download the zip file from? What is the license number? What version number is in the file name or in the addon.setup.php file?

#11

GabbaTheHutt

Jul 18, 2023

I downloaded it from ExpressionEngine.com.
License number: 8f7fd9ba-437e-4e64-b03e-fbf12d171a7f.
Zip file named datagrab-5.0.3-develop-b2228ea7_zip, so I presume it is version 5.0.3.
addon.setup.php does not exist.

#12

BoldMinded (Brian)

Jul 18, 2023

Comment has been marked private.

#13

GabbaTheHutt

Jul 26, 2023

The files and folders in this are completely different from the ones downloaded from ExpressionEngine.com.

I have tried the build you suggested and I have come up with the following errors:

TypeError Caught
Argument 1 passed to Datagrab_mcp::getChannel() must be of the type int, null given, called in user/addons/datagrab/mcp.datagrab.php on line 136
user/addons/datagrab/mcp.datagrab.php:214

Stack Trace: Please include when reporting this error
#0 user/addons/datagrab/mcp.datagrab.php(136): Datagrab_mcp->getChannel(NULL)
#1 [internal function]: Datagrab_mcp->index()
#2 ee/ExpressionEngine/Controller/Addons/Addons.php(1520): call_user_func_array(Array, Array)
#3 ee/ExpressionEngine/Controller/Addons/Addons.php(802): ExpressionEngine\Controller\Addons\Addons->getModuleSettings(‘datagrab’, ‘index’, Array)
#4 [internal function]: ExpressionEngine\Controller\Addons\Addons->settings(‘datagrab’)
#5 ee/ExpressionEngine/Core/Core.php(266): call_user_func_array(Array, Array)
#6 ee/ExpressionEngine/Core/Core.php(122): ExpressionEngine\Core\Core->runController(Array)
#7 ee/ExpressionEngine/Boot/boot.php(161): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request))
#8 admin.php(144): require_once(’...’)
#8 admin.php(144): require_once(’...’)

#14

BoldMinded (Brian)

Jul 27, 2023

That error implies to me that the import was not configured correctly and not assigned to import to a specific channel. Try deleting that import and re-creating it.

#15

BoldMinded (Brian)

Jul 27, 2023

Comment has been marked private.

#16

GabbaTheHutt

Jul 29, 2023

This build seems to have fixed the issue. Many thanks

Login to reply