api returns fatal error

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
4bf9gSBj
Posts: 16
Joined: Fri Jan 25, 2019 4:50 pm

api returns fatal error

Post by 4bf9gSBj »

i'm using 1.34.23 on debian 12 with php 8.2
OPT_USE_API checked, OPT_USE_LEGACY_API_AUTH checked
i have several cameras i've used for several months and all seems ok
i wanted to use the api calls for a project
to start i tried http://localhost/zm/api and get

Fatal error: Uncaught Error: Unknown named parameter $subject in /usr/share/php/Cake/Utility/ObjectCollection.php:128 Stack trace: #0 /usr/share/php/Cake/Event/CakeEventManager.php(243): ObjectCollection->trigger() #1 /usr/share/php/Cake/Controller/Controller.php(677): CakeEventManager->dispatch() #2 /usr/share/php/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess() #3 /usr/share/php/Cake/Error/ExceptionRenderer.php(95): ExceptionRenderer->_getController() #4 /usr/share/php/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->__construct() #5 /usr/share/php/Cake/Error/ErrorHandler.php(269): ErrorHandler::handleException() #6 /usr/share/php/Cake/Error/ErrorHandler.php(212): ErrorHandler::handleFatalError() #7 /usr/share/php/Cake/Core/App.php(970): ErrorHandler::handleError() #8 /usr/share/php/Cake/Core/App.php(943): App::_checkFatalError() #9 [internal function]: App::shutdown() #10 {main} thrown in /usr/share/php/Cake/Utility/ObjectCollection.php on line 128


i searched this board and could not find a fix for this kind of error
any suggestions
Post Reply