I don't know reason this error. I do next
I delete all package bareos-webui and php-*
`apt purge bareos-webui php-*`
Then install bareos-webui
apt inatll bareos-webu
And restart Apache service
systemctl restart apache2
вторник, 18 июня 2024 г. в 09:46:39 UTC+5, Алексей Н:
> After update Debian from 11 to 12 I can not open WebUI. When I try open
> URL I see many errors. I was reinstall bareos-webui (apt purge bareos-webui
> and then apt install bareos-webui) but that didn't help
>
> WebUI 23.0.4~pre23.1e516e0b3
> All components are installed from the official repository for Debian 12.
>
> PHP 8.2.18 (cli) (built: Apr 11 2024 22:07:45) (NTS)
> Copyright (c) The PHP Group
> Zend Engine v4.2.18, Copyright (c) Zend Technologies
> with Zend OPcache v8.2.18, Copyright (c), by Zend Technologies
>
>
>
> *Deprecated*: Return type of Zend\Stdlib\PriorityQueue::count() should
> either be compatible with Countable::count(): int, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/PriorityQueue.php*
>
> on line *128*
>
> *Deprecated*: Return type of Zend\Stdlib\PriorityQueue::getIterator()
> should either be compatible with IteratorAggregate::getIterator():
> Traversable, or the #[\ReturnTypeWillChange] attribute should be used to
> temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/PriorityQueue.php*
>
> on line *165*
>
> *Deprecated*: Zend\Stdlib\PriorityQueue implements the Serializable
> interface, which is deprecated. Implement __serialize() and __unserialize()
> instead (or in addition, if support for old PHP versions is necessary) in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/PriorityQueue.php*
>
> on line *28*
>
> *Deprecated*: Zend\Stdlib\SplPriorityQueue implements the Serializable
> interface, which is deprecated. Implement __serialize() and __unserialize()
> instead (or in addition, if support for old PHP versions is necessary) in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/SplPriorityQueue.php*
>
> on line *20*
>
> *Deprecated*: Return type of Zend\Stdlib\Parameters::offsetGet($name)
> should either be compatible with ArrayObject::offsetGet(mixed $key): mixed,
> or the #[\ReturnTypeWillChange] attribute should be used to temporarily
> suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/Parameters.php*
> on line *84*
>
> *Deprecated*: Return type of Zend\Stdlib\Parameters::offsetGet($name)
> should either be compatible with ArrayAccess::offsetGet(mixed $offset):
> mixed, or the #[\ReturnTypeWillChange] attribute should be used to
> temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/Parameters.php*
> on line *84*
>
> *Deprecated*: Return type of Zend\Stdlib\ArrayObject::getIterator()
> should either be compatible with IteratorAggregate::getIterator():
> Traversable, or the #[\ReturnTypeWillChange] attribute should be used to
> temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/ArrayObject.php*
>
> on line *226*
>
> *Deprecated*: Return type of Zend\Stdlib\ArrayObject::offsetExists($key)
> should either be compatible with ArrayAccess::offsetExists(mixed $offset):
> bool, or the #[\ReturnTypeWillChange] attribute should be used to
> temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/ArrayObject.php*
>
> on line *279*
>
> *Deprecated*: Return type of & Zend\Stdlib\ArrayObject::offsetGet($key)
> should either be compatible with ArrayAccess::offsetGet(mixed $offset):
> mixed, or the #[\ReturnTypeWillChange] attribute should be used to
> temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/ArrayObject.php*
>
> on line *290*
>
> *Deprecated*: Return type of Zend\Stdlib\ArrayObject::offsetSet($key,
> $value) should either be compatible with ArrayAccess::offsetSet(mixed
> $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute
> should be used to temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/ArrayObject.php*
>
> on line *308*
>
> *Deprecated*: Return type of Zend\Stdlib\ArrayObject::offsetUnset($key)
> should either be compatible with ArrayAccess::offsetUnset(mixed $offset):
> void, or the #[\ReturnTypeWillChange] attribute should be used to
> temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/ArrayObject.php*
>
> on line *319*
>
> *Deprecated*: Zend\Stdlib\ArrayObject implements the Serializable
> interface, which is deprecated. Implement __serialize() and __unserialize()
> instead (or in addition, if support for old PHP versions is necessary) in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/ArrayObject.php*
>
> on line *22*
>
> *Deprecated*: Return type of Zend\Stdlib\ArrayObject::count() should
> either be compatible with Countable::count(): int, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/ArrayObject.php*
>
> on line *170*
>
> *Deprecated*: Return type of Zend\Http\Headers::count() should either be
> compatible with Countable::count(): int, or the #[\ReturnTypeWillChange]
> attribute should be used to temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-http/src/Headers.php*
> on line *383*
>
> *Deprecated*: Return type of Zend\Http\Headers::current() should either
> be compatible with Iterator::current(): mixed, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-http/src/Headers.php*
> on line *368*
>
> *Deprecated*: Return type of Zend\Http\Headers::next() should either be
> compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange]
> attribute should be used to temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-http/src/Headers.php*
> on line *328*
>
> *Deprecated*: Return type of Zend\Http\Headers::key() should either be
> compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange]
> attribute should be used to temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-http/src/Headers.php*
> on line *338*
>
> *Deprecated*: Return type of Zend\Http\Headers::valid() should either be
> compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange]
> attribute should be used to temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-http/src/Headers.php*
> on line *348*
>
> *Deprecated*: Return type of Zend\Http\Headers::rewind() should either be
> compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange]
> attribute should be used to temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-http/src/Headers.php*
> on line *358*
>
> *Deprecated*: Return type of Zend\Loader\PluginClassLoader::getIterator()
> should either be compatible with IteratorAggregate::getIterator():
> Traversable, or the #[\ReturnTypeWillChange] attribute should be used to
> temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-loader/src/PluginClassLoader.php*
>
> on line *211*
>
> *Deprecated*: Return type of Zend\Stdlib\PriorityList::current() should
> either be compatible with Iterator::current(): mixed, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/PriorityList.php*
>
> on line *201*
>
> *Deprecated*: Return type of Zend\Stdlib\PriorityList::next() should
> either be compatible with Iterator::next(): void, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/PriorityList.php*
>
> on line *221*
>
> *Deprecated*: Return type of Zend\Stdlib\PriorityList::key() should
> either be compatible with Iterator::key(): mixed, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/PriorityList.php*
>
> on line *212*
>
> *Deprecated*: Return type of Zend\Stdlib\PriorityList::valid() should
> either be compatible with Iterator::valid(): bool, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/PriorityList.php*
>
> on line *231*
>
> *Deprecated*: Return type of Zend\Stdlib\PriorityList::rewind() should
> either be compatible with Iterator::rewind(): void, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/PriorityList.php*
>
> on line *192*
>
> *Deprecated*: Return type of Zend\Stdlib\PriorityList::count() should
> either be compatible with Countable::count(): int, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/PriorityList.php*
>
> on line *247*
>
> *Deprecated*: Creation of dynamic property
> Zend\Mvc\Router\Http\Part::$priority is deprecated in
> */usr/share/bareos-webui/vendor/zendframework/zend-mvc/src/Router/Http/TreeRouteStack.php*
>
> on line *182*
>
> *Deprecated*: Creation of dynamic property
> Zend\Mvc\Router\Http\Part::$priority is deprecated in
> */usr/share/bareos-webui/vendor/zendframework/zend-mvc/src/Router/Http/TreeRouteStack.php*
>
> on line *182*
>
> *Deprecated*: Return type of
> Zend\View\Resolver\AggregateResolver::count() should either be compatible
> with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute
> should be used to temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-view/src/Resolver/AggregateResolver.php*
>
> on line *55*
>
> *Deprecated*: Return type of
> Zend\View\Resolver\AggregateResolver::getIterator() should either be
> compatible with IteratorAggregate::getIterator(): Traversable, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-view/src/Resolver/AggregateResolver.php*
>
> on line *65*
>
> *Deprecated*: Return type of
> Zend\View\Resolver\TemplateMapResolver::getIterator() should either be
> compatible with IteratorAggregate::getIterator(): Traversable, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-view/src/Resolver/TemplateMapResolver.php*
>
> on line *43*
>
> *Deprecated*: Return type of Zend\Stdlib\SplStack::unserialize($data)
> should either be compatible with SplDoublyLinkedList::unserialize(string
> $data): void, or the #[\ReturnTypeWillChange] attribute should be used to
> temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/SplStack.php*
> on line *49*
>
> *Deprecated*: Return type of Zend\Stdlib\SplStack::serialize() should
> either be compatible with SplDoublyLinkedList::serialize(): string, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-stdlib/src/SplStack.php*
> on line *38*
>
> *Deprecated*: Return type of Zend\View\Model\ViewModel::count() should
> either be compatible with Countable::count(): int, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-view/src/Model/ViewModel.php*
>
> on line *477*
>
> *Deprecated*: Return type of Zend\View\Model\ViewModel::getIterator()
> should either be compatible with IteratorAggregate::getIterator():
> Traversable, or the #[\ReturnTypeWillChange] attribute should be used to
> temporarily suppress the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-view/src/Model/ViewModel.php*
>
> on line *487*
>
> *Deprecated*: Return type of Zend\View\Variables::offsetGet($key) should
> either be compatible with ArrayObject::offsetGet(mixed $key): mixed, or the
> #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
> the notice in
> */usr/share/bareos-webui/vendor/zendframework/zend-view/src/Variables.php*
> on line *132*
>
> *Warning*: ini_set(): Session ini settings cannot be changed after
> headers have already been sent in
> */usr/share/bareos-webui/vendor/zendframework/zend-session/src/Config/SessionConfig.php*
>
> on line *88*
>
> *Fatal error*: Uncaught Zend\Session\Exception\InvalidArgumentException: '
> session.name' is not a valid sessions-related ini setting. in
> /usr/share/bareos-webui/vendor/zendframework/zend-session/src/Config/SessionConfig.php:90
>
> Stack trace: #0
> /usr/share/bareos-webui/vendor/zendframework/zend-session/src/Config/StandardConfig.php(266):
>
> Zend\Session\Config\SessionConfig->setStorageOption() #1
> /usr/share/bareos-webui/vendor/zendframework/zend-session/src/Config/StandardConfig.php(114):
>
> Zend\Session\Config\StandardConfig->setName() #2
> /usr/share/bareos-webui/module/Application/Module.php(145):
> Zend\Session\Config\StandardConfig->setOptions() #3 [internal function]:
> Application\Module->Application\{closure}() #4
> /usr/share/bareos-webui/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(934):
>
> call_user_func() #5
> /usr/share/bareos-webui/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(1094):
>
> Zend\ServiceManager\ServiceManager->createServiceViaCallback() #6
> /usr/share/bareos-webui/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(634):
>
> Zend\ServiceManager\ServiceManager->createFromFactory() #7
> /usr/share/bareos-webui/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(597):
>
> Zend\ServiceManager\ServiceManager->doCreate() #8
> /usr/share/bareos-webui/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(530):
>
> Zend\ServiceManager\ServiceManager->create() #9
> /usr/share/bareos-webui/module/Application/Module.php(79):
> Zend\ServiceManager\ServiceManager->get() #10
> /usr/share/bareos-webui/module/Application/Module.php(41):
> Application\Module->initSession() #11 [internal function]:
> Application\Module->onBootstrap() #12
> /usr/share/bareos-webui/vendor/zendframework/zend-eventmanager/src/EventManager.php(490):
>
> call_user_func() #13
> /usr/share/bareos-webui/vendor/zendframework/zend-eventmanager/src/EventManager.php(211):
>
> Zend\EventManager\EventManager->triggerListeners() #14
> /usr/share/bareos-webui/vendor/zendframework/zend-mvc/src/Application.php(157):
>
> Zend\EventManager\EventManager->trigger() #15
> /usr/share/bareos-webui/vendor/zendframework/zend-mvc/src/Application.php(261):
>
> Zend\Mvc\Application->bootstrap() #16
> /usr/share/bareos-webui/public/index.php(47): Zend\Mvc\Application::init()
> #17 {main} Next Zend\ServiceManager\Exception\ServiceNotCreatedException:
> An exception was raised while creating "Zend\Session\SessionManager"; no
> instance returned in
> /usr/share/bareos-webui/vendor/zendframework/zend-servicemanager/src/ServiceManager.php:941
>
> Stack trace: #0
> /usr/share/bareos-webui/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(1094):
>
> Zend\ServiceManager\ServiceManager->createServiceViaCallback() #1
> /usr/share/bareos-webui/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(634):
>
> Zend\ServiceManager\ServiceManager->createFromFactory() #2
> /usr/share/bareos-webui/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(597):
>
> Zend\ServiceManager\ServiceManager->doCreate() #3
> /usr/share/bareos-webui/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(530):
>
> Zend\ServiceManager\ServiceManager->create() #4
> /usr/share/bareos-webui/module/Application/Module.php(79):
> Zend\ServiceManager\ServiceManager->get() #5
> /usr/share/bareos-webui/module/Application/Module.php(41):
> Application\Module->initSession() #6 [internal function]:
> Application\Module->onBootstrap() #7
> /usr/share/bareos-webui/vendor/zendframework/zend-eventmanager/src/EventManager.php(490):
>
> call_user_func() #8
> /usr/share/bareos-webui/vendor/zendframework/zend-eventmanager/src/EventManager.php(211):
>
> Zend\EventManager\EventManager->triggerListeners() #9
> /usr/share/bareos-webui/vendor/zendframework/zend-mvc/src/Application.php(157):
>
> Zend\EventManager\EventManager->trigger() #10
> /usr/share/bareos-webui/vendor/zendframework/zend-mvc/src/Application.php(261):
>
> Zend\Mvc\Application->bootstrap() #11
> /usr/share/bareos-webui/public/index.php(47): Zend\Mvc\Application::init()
> #12 {main} thrown in
> */usr/share/bareos-webui/vendor/zendframework/zend-servicemanager/src/ServiceManager.php*
>
> on line *941*
>
>
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/23e5950d-c0b9-4652-ae50-8ccf97406c20n%40googlegroups.com.