News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

What is the cause of this error message?

Started by swake, July 02, 2025, 11:29:53 AM

Previous topic - Next topic

swake

This error message always appears in the error logbook
Sources/tasks/ApprovePost-Notify.php
line 44   $request = $smcFunc['db_query']('', '

Type of critical
Database error , given array of integer values is empty . (members)
Function : execute

How can this be remedied?

Version 2.16

Kindred

Please provide the whole error message
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

swake

I copied the error messages and the corresponding backtrace

#0: smf_db_error_backtrace()
Aangeroepen van /data/sites/web/erotiek-en-seksbe/www/forum/Sources/Subs-Db-mysql.php op regel 222

==>   smf_db_error_backtrace('Database error, given array of integer values is empty. (' . $matches[2] . ')', '', E_USER_ERROR, __FILE__, __LINE__);



#1: smf_db_replacement__callback()
Aangeroepen van onbekend op regel -1

#2: preg_replace_callback()
Aangeroepen van /data/sites/web/erotiek-en-seksbe/www/forum/Sources/Subs-Db-mysql.php op regel 409

==>409         $db_string = preg_replace_callback('~{([a-z_]+)(?::([a-zA-Z0-9_-]+))?}~', 'smf_db_replacement__callback', $db_string);


#3: smf_db_query()
Aangeroepen van /data/sites/web/erotiek-en-seksbe/www/forum/Sources/tasks/ApprovePost-Notify.php op regel 44

==>44         $request = $smcFunc['db_query']('', '

#4: execute()
Aangeroepen van /data/sites/web/erotiek-en-seksbe/www/forum/cron.php op regel 250

==250 return $bgtask->execute();

#5: perform_task()
Aangeroepen van /data/sites/web/erotiek-en-seksbe/www/forum/cron.php op regel 132

==>132:      $result = perform_task($task_details);

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

swake

mods are installed
There will also no longer be any confirmation emails sent when a new member registers, or when a member forgets their password. And there will also no longer be any notification emails sent.

shawnb61

Do you have any records in the background tasks table?

I would delete the oldest one.  Something is hanging it up.
A question worth asking is born in experience & driven by necessity. - Fripp

Advertisement: