You got no error when you warn a user for the first time. However, if you attempt to warn the same user again, you'll receive the following:
Log:
TypeError: IPS\Helpers\Form::addMessage(): Argument #2 ($css) must be of type string, null given, called in /home/sosinvisioncom/public_html/test/system/Content/Item.php on line 275 (0) #0 /home/sosinvisioncom/public_html/test/system/Content/Item.php(275): IPS\Helpers\Form->addMessage() #1 /home/sosinvisioncom/public_html/test/system/Content/Item.php(206): IPS\Content\Item::buildCreateForm() #2 /home/sosinvisioncom/public_html/test/applications/core/modules/front/system/warnings.php(155): IPS\Content\Item::create() #3 /home/sosinvisioncom/public_html/test/system/Dispatcher/Controller.php(128): IPS\core\modules\front\system\warnings->warn() #4 /home/sosinvisioncom/public_html/test/system/Content/Controller.php(122): IPS\Dispatcher\Controller->execute() #5 /home/sosinvisioncom/public_html/test/applications/core/modules/front/system/warnings.php(57): IPS\Content\Controller->execute() #6 /home/sosinvisioncom/public_html/test/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\front\system\warnings->execute() #7 /home/sosinvisioncom/public_html/test/index.php(16): IPS\Dispatcher->run() #8 {main}
Recommended Comments