Fatal error: Uncaught TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, PDOStatement given in /www/wwwroot/www.weyhui.com/apps/lib/class/weyhui_db.php:244
Stack trace:
#0 /www/wwwroot/www.weyhui.com/apps/lib/class/weyhui_db.php(244): str_replace()
#1 [internal function]: weyhui_db->escape_string()
#2 /www/wwwroot/www.weyhui.com/apps/lib/class/weyhui_db.php(182): array_walk()
#3 /www/wwwroot/www.weyhui.com/apps/plug/ipblock/c/hook.php(280): weyhui_db->add()
#4 /www/wwwroot/www.weyhui.com/apps/plug/ipblock/c/hook.php(167): ipblock_log_block()
#5 /www/wwwroot/www.weyhui.com/apps/plug/ipblock/c/hook.php(44): ipblock_auto_detect()
#6 /www/wwwroot/www.weyhui.com/apps/lib/class/hook.php(149): ipblock_check()
#7 /www/wwwroot/www.weyhui.com/apps/c.php(157): Hook::trigger()
#8 /www/wwwroot/www.weyhui.com/apps/home/c.php(349): Controller->_before_action()
#9 /www/wwwroot/www.weyhui.com/apps/weyhui.php(213): HomeController->_before_action()
#10 /www/wwwroot/www.weyhui.com/apps/weyhui.php(108): weyhui::run()
#11 /www/wwwroot/www.weyhui.com/index.php(124): require('...')
#12 {main}
thrown in /www/wwwroot/www.weyhui.com/apps/lib/class/weyhui_db.php on line 244