Skip to main content


Hello again !Friendica Support,

i notice that every time when the crontab is starting the worker.php this error appears.

PHP Notice:  Undefined index: event in /include/enotify.php on line 405
PHP Notice:  Undefined index: verb in /include/enotify.php on line 493
PHP Notice:  Undefined index: otype in /include/enotify.php on line 494
PHP Fatal error:  Uncaught Friendica\Network\HTTPException\InternalServerErrorException: Unable to insert new row in table "notify" in /src/BaseRepository.php:145
Stack trace:
#0 /src/Repository/Notify.php(89):
Friendica\BaseRepository->insert(Array)
#1 /include/enotify.php(494): Friendica\Repository\Notify->insert(Array)
#2 /addon/public_server/public_server.php(77): notification(Array)
#3 /src/Core/Hook.php(202): public_server_cron(Object(Friendica\App), NULL)
#4 /src/Worker/ForkHook.php(17): Friendica\Core\Hook::callSingle(Object(Friendica\App), 'cron', Array, NULL)
#5 [internal function]: Friendica\Worker\ForkHook::execute('cron', Array, NULL)
#6 /src/Core/Worker.php(396): call_user_func_array('Friendica\\Worke...', Array)
#7 /src/Core/Worker.php(295): Friendica\Core\Worker::execFunction(Array,  in /src/BaseRepository.php on line 145
PHP Notice:  Undefined index: event in /include/enotify.php on line 405
PHP Notice:  Undefined index: verb in /include/enotify.php on line 493
PHP Notice:  Undefined index: otype in /include/enotify.php on line 494
PHP Fatal error:  Uncaught Friendica\Network\HTTPException\InternalServerErrorException: Unable to insert new row in table "notify" in /src/BaseRepository.php:145
Stack trace:
#0 /src/Repository/Notify.php(89): Friendica\BaseRepository->insert(Array)
#1 /include/enotify.php(494): Friendica\Repository\Notify->insert(Array)
#2 /addon/public_server/public_server.php(77): notification(Array)
#3 /src/Core/Hook.php(202): public_server_cron(Object(Friendica\App), NULL)
:

PHP 7.2.27
#Friendica #2020.03-dev #bug