blog con problemi a salvare alcune opzioni
un utente lamenta di non poter salvare alcuni settaggi nelle impostazioni della moderazione:
https://helpdesk.autistici.org/rt/Ticket/Display.html?id=2021
mi pare un problema simile a quello del plugin event-list, cioe' non accetta il valore NULL, in questo caso per tutta una serie di valori, eppure sono checkbox, quindi e' strano che non accetti il NULL, un estratto dai log:
Feb 9, 2021 @ 18:37:45.000 message: [09-Feb-2021 17:37:45] WARNING: [pool www] child 25375 said into stderr: "NOTICE: PHP message: WordPress database error Column 'option_value' cannot be null for query UPDATE `wp_16337_options` SET `option_value` = NULL WHERE `option_name` = 'page_comments' made by update_option" severity:INFO @timestamp:Feb 9, 2021 @ 18:37:45.000 host:assenza tag:noblogs-http[3790]: program:noblogs-http facility:daemon _id:dFPeh3cBSjwbSu2r3Js1 _type:_doc _index:logstash-2021.02.09 _score: -
Feb 9, 2021 @ 18:37:45.000 message: [09-Feb-2021 17:37:45] WARNING: [pool www] child 25375 said into stderr: "NOTICE: PHP message: WordPress database error Column 'option_value' cannot be null for query UPDATE `wp_16337_options` SET `option_value` = NULL WHERE `option_name` = 'comment_registration' made by update_option" severity:INFO @timestamp:Feb 9, 2021 @ 18:37:45.000 host:assenza tag:noblogs-http[3790]: program:noblogs-http facility:daemon _id:elPeh3cBSjwbSu2r3Js1 _type:_doc _index:logstash-2021.02.09 _score: -
Feb 9, 2021 @ 18:37:45.000 message: [Tue Feb 09 17:37:45.217480 2021] [proxy_fcgi:error] [pid 52:tid 140539166283520] [client 0.0.0.0:31282] AH01071: Got error 'PHP message: WordPress database error Column 'option_value' cannot be null for query UPDATE `wp_16337_options` SET `option_value` = NULL WHERE `option_name` = 'default_ping_status' made by update_optionPHP message: WordPress database error Column 'option_value' cannot be null for query UPDATE `wp_16337_options` SET `option_value` = NULL WHERE `option_name` = 'default_comment_status' made by update_optionPHP message: WordPress database error Column 'option_value' cannot be null for query UPDATE `wp_16337_options` SET `option_value` = NULL WHERE `option_name` = 'comments_notify' made by update_optionPHP message: WordPress database error Column 'option_value' cannot be null for query UPDATE `wp_16337_options` SET `option_value` = NULL WHERE `option_name` = 'moderation_notify' made by update_optionPHP message: WordPress database error Column 'option_value' cann severity:ERR @timestamp:Feb 9, 2021 @ 18:37:45.000 host:assenza tag:apache: program:apache facility:daemon _id:ilPeh3cBSjwbSu2r3Js1 _type:_doc _index:logstash-2021.02.09 _score: -
Feb 9, 2021 @ 18:37:45.000 message: ot be null for query UPDATE `wp_16337_options` SET `option_value` = NULL WHERE `option_name` = 'show_avatars' made by update_optionPHP message: WordPress database error Column 'option_value' cannot be null for query UPDATE `wp_16337_options` SET `option_value` = NULL WHERE `option_name` = 'page_comments' made by update_optionPHP message: WordPress database error Column 'option_value' cannot be null for query UPDATE `wp_16337_options` SET `option_value` = NULL WHERE `option_name` = 'comment_registration' made by update_option', referer: https://test9876.noblogs.org/wp-admin/options-discussion.php severity:ERR @timestamp:Feb 9, 2021 @ 18:37:45.000 host:assenza tag:apache: program:apache facility:daemon _id:i1Peh3cBSjwbSu2r3Js1 _type:_doc _index:logstash-2021.02.09 _score: -
Feb 9, 2021 @ 18:37:44.000 message: [09-Feb-2021 17:37:44] WARNING: [pool www] child 25375 said into stderr: "NOTICE: PHP message: WordPress database error Column 'option_value' cannot be null for query UPDATE `wp_16337_options` SET `option_value` = NULL WHERE `option_name` = 'default_ping_status' made by update_option" severity:INFO @timestamp:Feb 9, 2021 @ 18:37:44.000 host:assenza tag:noblogs-http[3790]: program:noblogs-http facility:daemon _id:8lPeh3cBSjwbSu2r2Zqz _type:_doc _index:logstash-2021.02.09 _score: -
Feb 9, 2021 @ 18:37:44.000 message: [09-Feb-2021 17:37:44] WARNING: [pool www] child 25375 said into stderr: "NOTICE: PHP message: WordPress database error Column 'option_value' cannot be null for query UPDATE `wp_16337_options` SET `option_value` = NULL WHERE `option_name` = 'default_comment_status' made by update_option" severity:INFO @timestamp:Feb 9, 2021 @ 18:37:44.000 host:assenza tag:noblogs-http[3790]: program:noblogs-http facility:daemon _id:9FPeh3cBSjwbSu2r2Zqz _type:_doc _index:logstash-2021.02.09 _score: -