XenForo Processing approval queue Error: Call to undefined function XF\Job\set_time_limit() on php 8

H

hkymre

Guest
Using 2.2.8 & PHP 8
When marking an account as spam clean in the approval queue then the below error is thrown.
Changing to PHP 7.4 works fine

Code:

Code:
Server error log
[LIST]
[*]Error: Call to undefined function XF\Job\set_time_limit()
[*]src/XF/Job/AbstractJob.php:24
[*]Generated by: Unknown account
[*]Apr 18, 2022 at 10:25 AM
[/LIST]
[HEADING=2]Stack trace[/HEADING]
#0 src/XF/Container.php(276): XF\Job\AbstractJob->__construct(Object(XF\Pub\App), 70168, Array)
#1 src/XF/App.php(1670)...

Read more

Continue reading...