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: 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

Also I cannot access the “Configure import” option.

#2

GabbaTheHutt

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

#3

BoldMinded (Brian)

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

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)

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

#6

BoldMinded (Brian)

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

#7

GabbaTheHutt

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)

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

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

#10

BoldMinded (Brian)

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

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)

Comment has been marked private.

#13

GabbaTheHutt

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)

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)

Comment has been marked private.

#16

GabbaTheHutt

This build seems to have fixed the issue. Many thanks

Login to reply