Jump to content

Delete Old Content - Supporttopic


Fosters

Recommended Posts

Currently, the app has two problems for me:

1. If one task has multiple forums the app can clean only the first of them and ignores the others. A workaround is to create separate tasks for every forum. But it's not an option in my situation unfortunately 😞

2. Few months ago it started throwing errors in logs:

DeleteOldContent returned a NULL offset - tasks should throw \IPS\Task\Queue\OutOfRangeException when they are finished

#0 /var/www/abc.com/system/Task/Task.php(55): IPS\_Log::log('DeleteOldConten...', 'runQueue_log')
#1 /var/www/abc.com/applications/core/tasks/queue.php(43): IPS\_Task::runQueue()
#2 [internal function]: IPS\core\tasks\_queue->IPS\core\tasks\{closure}()
#3 /var/www/abc.com/system/Task/Task.php(347): call_user_func(Object(Closure))
#4 /var/www/abc.com/applications/core/tasks/queue.php(55): IPS\_Task->runUntilTimeout(Object(Closure))
#5 /var/www/abc.com/system/Task/Task.php(248): IPS\core\tasks\_queue->execute()
#6 /var/www/abc.com/system/Task/Task.php(217): IPS\_Task->run()
#7 /var/www/abc.com/applications/core/interface/task/task.php(62): IPS\_Task->runAndLog()
#8 {main}

 

Link to comment
  • Replies 78
  • Created
  • Last Reply
9 hours ago, motomac said:

Currently, the app has two problems for me:

1. If one task has multiple forums the app can clean only the first of them and ignores the others. A workaround is to create separate tasks for every forum. But it's not an option in my situation unfortunately 😞

2. Few months ago it started throwing errors in logs:


DeleteOldContent returned a NULL offset - tasks should throw \IPS\Task\Queue\OutOfRangeException when they are finished

#0 /var/www/abc.com/system/Task/Task.php(55): IPS\_Log::log('DeleteOldConten...', 'runQueue_log')
#1 /var/www/abc.com/applications/core/tasks/queue.php(43): IPS\_Task::runQueue()
#2 [internal function]: IPS\core\tasks\_queue->IPS\core\tasks\{closure}()
#3 /var/www/abc.com/system/Task/Task.php(347): call_user_func(Object(Closure))
#4 /var/www/abc.com/applications/core/tasks/queue.php(55): IPS\_Task->runUntilTimeout(Object(Closure))
#5 /var/www/abc.com/system/Task/Task.php(248): IPS\core\tasks\_queue->execute()
#6 /var/www/abc.com/system/Task/Task.php(217): IPS\_Task->run()
#7 /var/www/abc.com/applications/core/interface/task/task.php(62): IPS\_Task->runAndLog()
#8 {main}

 

You've got a PM with a new version 🙂 Would be great if you could give it a try

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...