@arnaudbroes , no there are no console errors. I do see some error log errors, which may be related. Nothing that specifically appears to be the write from this robots.txt save process, but things which may be triggered by other parts of the plugin and are preventing the save from happening later.
It is possible this bug is related to the other errors I’ve reported here with incorrect bool to empty string write errors.
When I hit save on the robots.txt admin page, I see these errors in the log:
[05-Jan-2021 13:40:31 UTC] PHP Notice: Undefined property: AIOSEO\Plugin\Common\Models\Notification::$id in /var/www/html/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 362
[05-Jan-2021 13:40:32 UTC] WordPress database error Incorrect integer value: '' for column <code>site-2019</code>.<code>fb_aioseo_notifications</code>.<code>dismissed</code> at row 1 for query INSERT INTO fb_aioseo_notifications
SET <code>slug</code> = '5ff46c508ae80', <code>title</code> = 'Physical Robots.txt File Detected', <code>content</code> = 'AIOSEO has detected a physical robots.txt file in the root folder of your WordPress installation. We recommend removing this file as it could cause conflicts with WordPress\' dynamically generated one. AIOSEO can import this file and delete it, or you can simply delete it.', <code>type</code> = 'error', <code>level</code> = '[\"all\"]', <code>notification_id</code> = NULL, <code>notification_name</code> = 'robots-physical-file', <code>start</code> = '2021-01-05 13:40:32', <code>end</code> = NULL, <code>button1_label</code> = 'Import and Delete', <code>button1_action</code> = 'https://action#tools/import-robots-txt?redirect=aioseo-tools', <code>button2_label</code> = 'Delete', <code>button2_action</code> = 'https://action#tools/delete-robots-txt?redirect=aioseo-tools', <code>dismissed</code> = '', <code>created</code> = '2021-01-05 13:40:32', <code>updated</code> = '2021-01-05 13:40:32'
/* 1 = 1 */ made by AIOSEO\Plugin\Common\Utils\Database::run
[05-Jan-2021 13:40:32 UTC] PHP Notice: Undefined property: AIOSEO\Plugin\Common\Models\Notification::$id in /var/www/html/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 362