FernleafSystems / Shield-Security-for-WordPress

Reflection of the Shield plugin on WordPress.org
https://getshieldsecurity.com
8 stars 4 forks source link

WordPress Duplicate entry on database #42

Closed ghost closed 2 years ago

ghost commented 2 years ago

Shield Security 14.0.3 on WordPress 5.9.

I get this in the log:

WordPress database error Duplicate entry '\x03\x87\xE5\xA3' for key 'ip' for the query INSERT INTO wp_icwp_wpsf_ips (ip,created_at) VALUES (INET6_ATON('3.135.229.163'), 1645042774) done by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, FernleafSystems\Wordpress\Plugin\Shield\Controller\Controller->onWpShutdown, do_action('icwp-wpsf-pre_plugin_shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\Bots\NotBot\NotBotHandler->FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\Bots\NotBot{closure}, FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\Bots\BotEventListener->fireEventForIP, FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\Bots\BotSignalsRecord->updateSignalField, FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\Bots\BotSignalsRecord->retrieve, FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\Bots\BotSignalsRecord->getIPRecord, FernleafSystems\Wordpress\Plugin\Shield\Modules\Data\DB\IPs\IPRecords->loadIP, FernleafSystems\Wordpress\Plugin\Shield\Modules\Data\DB\IPs\IPRecords->addIP, FernleafSystems\Wordpress\Plugin\Shield\Modules\Data\DB\IPs\Ops\Insert->insert, FernleafSystems\Wordpress\Services\Core\Db->doSql

ghost commented 2 years ago

@paulgoodchild Some "Duplicate entry" don't start with "\x", is it normal? Example: Duplicate entry 'm4\x01>' for key 'ip'