1.7.9 rc3 bug

On our test installation (1.4 upgraded to 1.7.9. rc3 , PHP 7.3) i have found two script errors / bugs/not working pages.
For the first one i have created PR

For the second one, it might be getTypeCodeForID, but even when i change it, i will get another error ( Uncaught Error: Using $this when not in object context in /home/apps/collectiveaccess/providence/app/lib/BaseModelWithAttributes.php:1203) so i am little lost here.

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined method ca_occurrences::typeCodeForID() in /home/apps/collectiveaccess/providence/app/lib/ResultContext.php:528\nStack trace:\n#0 /home/apps/collectiveaccess/providence/app/lib/ResultContext.php(506): ResultContext->setTypeRestriction('94')\n#1 /home/apps/collectiveaccess/providence/app/lib/BaseFindController.php(87): ResultContext->getTypeRestriction(false)\n#2 /home/apps/collectiveaccess/providence/app/lib/BaseRefineableSearchController.php(46): BaseFindController->__construct(Object(RequestHTTP), Object(ResponseHTTP), '/home/apps/coll...')\n#3 /home/apps/collectiveaccess/providence/app/controllers/find/SearchOccurrencesController.php(58): BaseRefineableSearchController->__construct(Object(RequestHTTP), Object(ResponseHTTP), '/home/apps/coll...')\n#4 /home/apps/collectiveaccess/providence/app/lib/Controller/RequestDispatcher.php(255): SearchOccurrencesController->__construct(Object(RequestHTTP), Object(ResponseHTTP), '/home/apps/coll...')...', referer: https://testcadr.jewishmuseum.cz/index.php/find/QuickSearch/Index

Comments

Sign In or Register to comment.