Hi
When I enable PHP 8.1 I get this error, it is possible that you can update the plugin so that it works with PHP-8.1
Thanks
Code
Wed, 29 Jun 2022 00:55:28 +0000
Message: Constant FILTER_SANITIZE_STRING is deprecated
PHP version: 8.1.7
WoltLab Suite version: 5.5.0 RC 2
Request URI: GET /board/forum/index.php?board/16-news/&pageNo=4&sortField=views&sortOrder=ASC
Referrer: https://xxxxxxx/board/forum/index.php?board%2F16-nyheter%2F&pageNo=4&sortField=username&sortOrder=ASC
User Agent: Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
Peak Memory Usage: 11598368/10485760000
======
Error Class: wcf\system\exception\ErrorException
Error Message: Constant FILTER_SANITIZE_STRING is deprecated
Error Code: 0
File: /home/xxxxx/public_html/board/lib/system/WCF.class.php (341)
Extra Information: -
Stack Trace: [{"file":"\/home\/xxxxxx\/public_html\/board\/lib\/data\/visitor\/Visitor.class.php","line":88,"function":"handleError","class":"wcf\\system\\WCF","type":"::","args":[8192,"Constant FILTER_SANITIZE_STRING is deprecated","\/home\/xxxxx\/public_html\/board\/lib\/data\/visitor\/Visitor.class.php",88]},{"file":"\/home\/xxxxx\/public_html\/board\/lib\/system\/event\/listener\/VisitorListener.class.php","line":35,"function":"skipTracking","class":"wcf\\data\\visitor\\Visitor","type":"::","args":[]},{"file":"\/home\/xxxxxxx\/public_html\/board\/lib\/system\/event\/EventHandler.class.php","line":172,"function":"execute","class":"wcf\\system\\event\\listener\\VisitorListener","type":"->","args":["wcf\\system\\template\\TemplateEngine","wcf\\system\\template\\TemplateEngine","afterDisplay",[]]},{"file":"\/home\/xxxxx\/public_html\/board\/lib\/system\/event\/EventHandler.class.php","line":240,"function":"executeListeners","class":"wcf\\system\\event\\EventHandler","type":"->","args":[{"wcf\\system\\event\\listener\\VisitorListener":"[redacted]"},"wcf\\system\\template\\TemplateEngine","wcf\\system\\template\\TemplateEngine","afterDisplay",[]]},{"file":"\/home\/xxxxxx\/public_html\/board\/lib\/system\/template\/TemplateEngine.class.php","line":355,"function":"fireAction","class":"wcf\\system\\event\\EventHandler","type":"->","args":["wcf\\system\\template\\TemplateEngine","afterDisplay"]},{"file":"\/home\/xxxxxx\/public_html\/board\/lib\/page\/AbstractPage.class.php","line":390,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["board","wbb"]},{"file":"\/home\/xxxxxx\/public_html\/board\/lib\/page\/AbstractPage.class.php","line":135,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/home\/xxxxxx\/public_html\/board\/lib\/system\/request\/Request.class.php","line":90,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/home\/xxxxxx\/public_html\/board\/lib\/system\/request\/RequestHandler.class.php","line":107,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/home\/xxxxx\/public_html\/board\/forum\/index.php","line":11,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wbb"]}]
Display More