Details
Description
Version 1.13.1 of the domain manager in latest 5.10.0 build. When the cron runs with domains in the system and the "Domain Synchronization" automation task runs, it produces the following error:
Attempting plugin cron for domains domain_synchronization.
SQLSTATE[HY000]: General error: 1364 Field 'expiration_date' doesn't have a default value
#0 /home/blestau/public_html/5100/vendors/minphp/db/src/PdoConnection.php(196): PDOStatement->execute()
#1 /home/blestau/public_html/5100/vendors/minphp/record/src/Record.php(305): Minphp\Db\PdoConnection->query()
#2 /home/blestau/public_html/5100/plugins/domains/models/domains_domains.php(658): Minphp\Record\Record->insert()
#3 /home/blestau/public_html/5100/plugins/domains/domains_plugin.php(1274): DomainsDomains->setRegistrationDate()
#4 /home/blestau/public_html/5100/plugins/domains/domains_plugin.php(1219): DomainsPlugin->synchronizeDomains()
#5 /home/blestau/public_html/5100/core/Automation/Tasks/Task/Plugin.php(74): DomainsPlugin->cron()
#6 /home/blestau/public_html/5100/core/Automation/Tasks/Task/Plugin.php(49): Blesta\Core\Automation\Tasks\Task\Plugin->process()
#7 /home/blestau/public_html/5100/app/controllers/cron.php(702): Blesta\Core\Automation\Tasks\Task\Plugin->run()
#8 /home/blestau/public_html/5100/app/controllers/cron.php(203): Cron->pluginTasks()
#9 /home/blestau/public_html/5100/app/controllers/cron.php(151): Cron->all()
#10 /home/blestau/public_html/5100/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): Cron->index()
#11 /home/blestau/public_html/5100/index.php(21): Dispatcher::dispatch()
#12
Finished plugin cron for domains domain_synchronization.
PHP 8.2, MySQL 8.0