A PHP Error was encountered

Severity: Warning

Message: file_get_contents(https://integration.surrey.ac.uk/API/QCM/programmeData?academicYear=2018/9&programmeCode=UFJ12-1&stageCode=&programmeOccurence=&PINSCode=): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error

Filename: models/Make.php

Line Number: 359

Backtrace:

File: /app/web/application/models/Make.php
Line: 359
Function: file_get_contents

File: /app/web/application/controllers/Programme.php
Line: 25
Function: getProgramme

File: /app/web/index.php
Line: 319
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /app/web/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /app/web/application/models/Make.php
Line: 999
Function: insert

File: /app/web/application/controllers/Programme.php
Line: 25
Function: getProgramme

File: /app/web/index.php
Line: 319
Function: require_once

Database Error

A Database Error Occurred

Error Number: 23000/1048

Column 'PINS' cannot be null

INSERT INTO `20189_ug_details` (`PINS`, `progCode`, `stage`, `occurence`, `title`, `awarding_body`, `teaching_institute`, `final_award`, `subsidary_award`, `accreditation`, `level`, `credits`, `JACs`, `QAA`, `ref_points`, `faculty`, `department`, `prog_leader`, `date_of_spec`, `education_aims`, `prog_learning`, `prog_structure`, `prog_adjustments`, `modules`, `opportunities`, `additional_cost`, `clinical`, `dual_degree`, `other_info`, `placement`, `prog_adjust`, `associate_tutor`, `prof_training`, `erasmus`, `exhanges`) VALUES (NULL, NULL, NULL, NULL, '', NULL, NULL, '[]', '[]', '', NULL, '[]', NULL, NULL, NULL, NULL, NULL, NULL, '14/11/2018', '[]', '[]', '[]', '', '[]', '', '', '', '', '', '', '', '', '', '', '')

Filename: models/Make.php

Line Number: 999