Errors in debug.log
-
Hi,
As I see your plugin causes many items in the debug.log:WordPress database error Commands out of sync; you can't run this command now for query INSERT INTO#__icwp_wpsf_req_logs(created_at,req_id,ip_ref) VALUES ('1708937761','72354f373c','945240') made 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-plugin_shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, FernleafSystems\Wordpress\Plugin\Shield\Modules\Events\Lib\EventsListener->FernleafSystems\Wordpress\Plugin\Shield\Modules\Events\Lib\{closure}, FernleafSystems\Wordpress\Plugin\Shield\Modules\AuditTrail\Lib\AuditLogger->onShutdown, AptowebDeps\Monolog\Logger->log, AptowebDeps\Monolog\Logger->addRecord, AptowebDeps\Monolog\Handler\FilterHandler->handle, AptowebDeps\Monolog\Handler\AbstractProcessingHandler->handle, FernleafSystems\Wordpress\Plugin\Shield\Modules\AuditTrail\Lib\LogHandlers\LocalDbWriter->write, FernleafSystems\Wordpress\Plugin\Shield\Modules\AuditTrail\Lib\LogHandlers\LocalDbWriter->createPrimaryLogRecord, FernleafSystems\Wordpress\Plugin\Shield\Modules\Data\DB\ReqLogs\RequestRecords->loadReq, FernleafSystems\Wordpress\Plugin\Shield\Modules\Data\DB\ReqLogs\RequestRecords->addReq, FernleafSystems\Wordpress\Plugin\Core\Databases\Base\Insert->insert, FernleafSystems\Wordpress\Plugin\Core\Databases\Base\BaseQuery->query, FernleafSystems\Wordpress\Plugin\Core\Databases\Base\Insert->execQuerySql, FernleafSystems\Wordpress\Plugin\Core\Databases\Base\BaseQuery->execQuerySql, FernleafSystems\Wordpress\Services\Core\Db->doSqlAnd also:
WordPress database error Commands out of sync; you can't run this command now for query INSERT INTO#__icwp_wpsf_event(created_at,event,count) VALUES ('1708937761','conn_kill_crowdsec','1') made 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-plugin_shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, FernleafSystems\Wordpress\Plugin\Shield\Modules\Events\Lib\EventsListener->FernleafSystems\Wordpress\Plugin\Shield\Modules\Events\Lib\{closure}, FernleafSystems\Wordpress\Plugin\Shield\Modules\Events\Lib\StatsWriter->onShutdown, FernleafSystems\Wordpress\Plugin\Shield\Modules\Events\DB\Event\Ops\Handler->commitEvents, FernleafSystems\Wordpress\Plugin\Shield\Modules\Events\DB\Event\Ops\Handler->commitEvent, FernleafSystems\Wordpress\Plugin\Core\Databases\Base\Insert->insert, FernleafSystems\Wordpress\Plugin\Core\Databases\Base\BaseQuery->query, FernleafSystems\Wordpress\Plugin\Core\Databases\Base\Insert->execQuerySql, FernleafSystems\Wordpress\Plugin\Core\Databases\Base\BaseQuery->execQuerySql, FernleafSystems\Wordpress\Services\Core\Db->doSqlIt is all after upgrade from PHP 8.0 to 8.2. Earlier we get below error, but after upgrade it disappeared:
WordPress database error Cannot add or update a child row: a foreign key constraint fails (###.#__icwp_wpsf_botsignal, CONSTRAINT#__icwp_wpsf_botsignal_ibfk_1FOREIGN KEY (ip_ref) REFERENCES#__icwp_wpsf_ips(id) ON DELETE CASCADE ON UPDATE CASCADE) for query INSERT INTO#__icwp_wpsf_botsignal(created_at,updated_at,notbot_at,frontpage_at,loginpage_at,bt404_at,btfake_at,btcheese_at,btloginfail_at,btua_at,btxml_at,btlogininvalid_at,btinvalidscript_at,btauthorfishing_at,cooldown_at,humanspam_at,markspam_at,unmarkspam_at,captchapass_at,captchafail_at,auth_at,firewall_at,ratelimit_at,offense_at,blocked_at,unblocked_at,bypass_at,snsent_at) VALUES ('1708722462','1708722462','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0') made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, icwp_wpsf_init, require_once('/plugins/wp-simple-firewall/plugin_init.php'), ICWP_WPSF_Shield_Security->start, FernleafSystems\Wordpress\Plugin\Shield\Controller\Controller->boot, FernleafSystems\Wordpress\Plugin\Shield\Rules\RulesController->processRules, FernleafSystems\Wordpress\Plugin\Shield\Rules\RulesController->processRule, FernleafSystems\Wordpress\Plugin\Shield\Rules\Processors\ProcessConditions->process, FernleafSystems\Wordpress\Plugin\Shield\Rules\Processors\ProcessConditions->processSingleCondition, FernleafSystems\Wordpress\Plugin\Shield\Rules\Conditions\Base->run, FernleafSystems\Wordpress\Plugin\Shield\Rules\Processors\ProcessConditions->process, FernleafSystems\Wordpress\Plugin\Shield\Rules\Conditions\Base->FernleafSystems\Wordpress\Plugin\Shield\Rules\Conditions\{closure}, FernleafSystems\Wordpress\Plugin\Shield\Rules\Conditions\IsIpHighReputation->execConditionCheck, FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\IsHighReputationIP->query, FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\Bots\Calculator\CalculateVisitorBotScores->total, FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\Bots\Calculator\CalculateVisitorBotScores->scores, FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\Bots\Calculator\CalculateVisitorBotScores->loadRecord, FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\Bots\BotSignalsRecord->retrieve, FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\Bots\BotSignalsRecord->store, FernleafSystems\Wordpress\Plugin\Core\Databases\Base\Insert->insert, FernleafSystems\Wordpress\Plugin\Core\Databases\Base\BaseQuery->query, FernleafSystems\Wordpress\Plugin\Core\Databases\Base\Insert->execQuerySql, FernleafSystems\Wordpress\Plugin\Core\Databases\Base\BaseQuery->execQuerySql, FernleafSystems\Wordpress\Services\Core\Db->doSql
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
The topic ‘Errors in debug.log’ is closed to new replies.