A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

Assignment Response - Stikked
From Hard Pathak, 5 Years ago, written in JavaScript.
Embed
  1. {
  2.   "statusCode": null,
  3.   "success": true,
  4.   "errorCode": null,
  5.   "data": {
  6.     "assignmentId": "94e039a499fe4b4cb3618df33230807f",
  7.     "itemUuid": "aa8130eb-c07b-3a18-a039-b66671569380",
  8.     "itemVersion": 1,
  9.     "teacherUuid": "ffffffff5bdc9638d407951125822293",
  10.     "createdDate": 1555542142000,
  11.     "title": "PDF_Auto_Publish",
  12.     "startDate": 1555542240000,
  13.     "dueDate": 1555743540000,
  14.     "instructions": null,
  15.     "status": "AVAILABLE",
  16.     "hasMultipleLanguage": false,
  17.     "allowMultipleLanguage": false,
  18.     "hasRemediation": false,
  19.     "allowRemediation": false,
  20.     "remediationOriginalItemUuid": null,
  21.     "attachmentUrl": null,
  22.     "type": "BASIC",
  23.     "includeEtext": false,
  24.     "parentAssignmentId": null,
  25.     "remediationDueDate": null,
  26.     "useRubric": false,
  27.     "programHierarchy": [
  28.       {
  29.         "parentItemUuid": "a5953eb2-6cea-3bc8-b760-0a1fc9848ed0",
  30.         "containerTitle": "Lesson 01 - Content with Download links ST",
  31.         "root": false,
  32.         "immediateParent": true,
  33.         "containerMediaType": "Lesson",
  34.         "distanceFrom": 1,
  35.         "path": "lesson/a5953eb2-6cea-3bc8-b760-0a1fc9848ed0/0/"
  36.       }
  37.     ],
  38.     "studentMetadata": [
  39.       {
  40.         "userAssignmentId": "9f756d5fce9b42bc8f93124d17a73a50",
  41.         "assignmentId": "94e039a499fe4b4cb3618df33230807f",
  42.         "itemType": "PDF",
  43.         "classUuid": "79B3CF91BC9F6844E0532402140A6932",
  44.         "studentUuid": "ffffffff5be2ffe9f02ebd635e51f269",
  45.         "lastOpenDate": null,
  46.         "attachmentUrl": null,
  47.         "markCompleted": false,
  48.         "autoCompleteEnabled": false,
  49.         "autoCompleted": false,
  50.         "createdDate": 1555542142522,
  51.         "userAssignmentStatus": null,
  52.         "attachmentTitle": null,
  53.         "userAssignmentDataList": [],
  54.         "assignedTo": [],
  55.         "userAssignmentLanguageList": [
  56.           {
  57.             "userAssignmentId": "9f756d5fce9b42bc8f93124d17a73a50",
  58.             "itemUuid": "aa8130eb-c07b-3a18-a039-b66671569380",
  59.             "itemVersion": 1,
  60.             "isSelected": true,
  61.             "languageLocale": "English",
  62.             "isdefault": false
  63.           }
  64.         ],
  65.         "deleted": false,
  66.         "correctTasks": 0,
  67.         "totalTasks": 0
  68.       }
  69.     ],
  70.     "assignedTo": [
  71.       {
  72.         "assignmentId": "94e039a499fe4b4cb3618df33230807f",
  73.         "classUuid": "79B3CF91BC9F6844E0532402140A6932",
  74.         "groupUuid": null,
  75.         "studentUuid": "ffffffff5be2ffe9f02ebd635e51f269"
  76.       }
  77.     ],
  78.     "preAssignedItems": [],
  79.     "studentClass": [
  80.       {
  81.         "studentUuid": "ffffffff5be2ffe9f02ebd635e51f269",
  82.         "classUuid": "79B3CF91BC9F6844E0532402140A6932"
  83.       }
  84.     ],
  85.     "includeRRSActivity": false,
  86.     "multiSelectAssignment": false
  87.   },
  88.   "errorMessage": null
  89. }