Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5199

Domain Manager: Domain Syncronization automation task results in an error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.10.0
    • Fix Version/s: 5.10.0
    • Component/s: Plugins
    • Labels:
      None

      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

      {main}

      Finished plugin cron for domains domain_synchronization.

      PHP 8.2, MySQL 8.0

        Activity

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/Jun/24