Jump to content
  • Status: Moved to Github

When trying to delete moderator alert, I get this error:

TypeError: IPS\DateTime::ts(): Argument #1 ($timestamp) must be of type int, null given, called in /var/www/forum/system/Content/Item.php on line 7485 (0)
#0 /var/www/forum/system/Content/Item.php(7485): IPS\DateTime::ts()
#1 /var/www/forum/system/Content/Content.php(680): IPS\Content\Item->apiOutput()
#2 /var/www/forum/system/Helpers/Table/Content.php(1048): IPS\Content->modAction()
#3 /var/www/forum/system/Helpers/Table/Content.php(316): IPS\Helpers\Table\Content->multimod()
#4 /var/www/forum/applications/core/extensions/core/ModCp/Alerts.php(82): IPS\Helpers\Table\Content->__construct()
#5 /var/www/forum/applications/core/modules/front/modcp/modcp.php(140): IPS\core\extensions\core\ModCp\Alerts->manage()
#6 /var/www/forum/system/Dispatcher/Controller.php(139): IPS\core\modules\front\modcp\modcp->manage()
#7 /var/www/forum/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()
#8 /var/www/forum/index.php(16): IPS\Dispatcher->run()
#9 {main}

User Feedback

Recommended Comments

Marc

Invision Community Team

Are you testing this on a default language pack? Im not able to replicate this issue.

Eleeist

Clients

I tested and it only happens on custom language pack. How could I fix it?

Eleeist

Clients

My mistake, it also happens on default language pack :/

Eleeist

Clients
(edited)

Got it: it only happens when deleting through multimod by selecting the checkbox. Deleting single alert through gear icon works.

Edited by Eleeist