A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/version_model.php

Line Number: 224

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "version_id" on null

Filename: models/version_model.php

Line Number: 224

A PHP Error was encountered

Severity: 8192

Message: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated

Filename: core/MY_Model.php

Line Number: 452


Fatal error: Uncaught Error: Attempt to assign property "urn" on null in /scalar-data/scalar.usc.edu/works/system/application/models/version_model.php:224 Stack trace: #0 /scalar-data/scalar.usc.edu/works/system/application/controllers/book.php(118): Version_model->get_by_version_num('280454', 5483) #1 /scalar-data/scalar.usc.edu/works/system/core/CodeIgniter.php(326): Book->_remap('film-studies-in...', Array) #2 /scalar-data/scalar.usc.edu/works/codeigniter.php(203): require_once('/scalar-data/sc...') #3 {main} thrown in /scalar-data/scalar.usc.edu/works/system/application/models/version_model.php on line 224