A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Datasource.php

Line Number: 219

Backtrace:

File: /home/data/public_html/application/modules/datasource/controllers/Datasource.php
Line: 219
Function: _error_handler

File: /home/data/public_html/application/modules/datasource/controllers/Datasource.php
Line: 189
Function: __log_download

File: /home/data/public_html/application/modules/datasource/controllers/Datasource.php
Line: 23
Function: download

File: /home/data/public_html/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/data/public_html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 568

Backtrace:

File: /home/data/public_html/application/modules/datasource/controllers/Datasource.php
Line: 222
Function: insert

File: /home/data/public_html/application/modules/datasource/controllers/Datasource.php
Line: 189
Function: __log_download

File: /home/data/public_html/application/modules/datasource/controllers/Datasource.php
Line: 23
Function: download

File: /home/data/public_html/index.php
Line: 293
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1048

Column 'datasource_id' cannot be null

INSERT INTO `d_datasources_log_downloads` (`datasource_id`, `ip_address`) VALUES (NULL, '23.20.240.193')

Filename: modules/datasource/controllers/Datasource.php

Line Number: 222