Dear Developers,
for some time in my system I get the following error
Class ‘EGroupware\Api\Etemplate\Widget\Select’ not found
after about one hour of work.
in this case the backtrace was the following:
PHP message: An error happened (Error): Class 'EGroupware\Api\Etemplate\Widget\Select' not found
PHP message: #0 /var/www/egroupware/api/src/Etemplate/Widget.php(359): include_once()
PHP message: #1 /var/www/egroupware/api/src/Etemplate/Widget.php(1052): EGroupware\Api\Etemplate\Widget::scanForWidgets()
PHP message: #2 /var/www/egroupware/api/src/autoload.php(50): require_once('/var/www/egroup...')
PHP message: #3 [internal function]: {closure}('EGroupware\\Api\\...')
PHP message: #4 /var/www/egroupware/api/src/Etemplate/Widget/Select.php(28): spl_autoload_call('EGroupware\\Api\\...')
PHP message: #5 /var/www/egroupware/api/src/autoload.php(50): require_once('/var/www/egroup...')
PHP message: #6 [internal function]: {closure}('EGroupware\\Api\\...')
PHP message: #7 /var/www/egroupware/infolog/inc/class.infolog_bo.inc.php(2428): spl_autoload_call('EGroupware\\Api\\...')
PHP message: #8 /var/www/egroupware/infolog/inc/class.infolog_bo.inc.php(381): infolog_bo->getReadItems()
PHP message: #9 /var/www/egroupware/api/src/Link.php(1776): infolog_bo->__construct()
PHP message: #10 /var/www/egroupware/api/src/Link.php(1735): EGroupware\Api\Link::exec('infolog.infolog...', Array)
PHP message: #11 /var/www/egroupware/api/src/Vfs/Links/StreamWrapper.php(116): EGroupware\Api\Link::file_access('infolog', 'd2', 1, 'd0/d1/d9/d7/d3/...', 65)
PHP message: #12 /var/www/egroupware/api/src/Vfs/Links/StreamWrapper.php(162): EGroupware\Api\Vfs\Links\StreamWrapper::check_extended_acl('achelper.digits...', 4)
PHP message: #13 /var/www/egroupware/achelper/src/Vfs/Digits/StreamWrapper.php(218): EGroupware\Api\Vfs\Links\StreamWrapper->url_stat('achelper.digits...', 0)
PHP message: #14 [internal function]: EGroupware\Achelper\Vfs\Digits\StreamWrapper->url_stat('achelper.digits...', 0)
PHP message: #15 /var/www/egroupware/api/src/Vfs/StreamWrapper.php(806): stat('achelper.digits...')
PHP message: #16 [internal function]: EGroupware\Api\Vfs\StreamWrapper->url_stat('vfs://default/w...', 2)PHP m
When somebody logs out and in into the server again, then the error is gone…
I think the error it is related to finding the widgets when the Api\Cache has expired:
But I don’t know what I can do to fix it…
Any hint is appreciated!
Thanks and
BR
Alex