# farmOS 4.0.1 has been released

**URL:** <https://farmos.discourse.group/t/farmos-4-0-1-has-been-released/2507>\
**Category:** Hosting farmOS\
**Created:** [April 16, 2026, 1:11pm UTC](https://farmos.discourse.group/t/farmos-4-0-1-has-been-released/2507 "2026-04-16T13:11:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [April 16, 2026, 1:11pm UTC](https://farmos.discourse.group/t/farmos-4-0-1-has-been-released/2507/1 "2026-04-16T13:11:48Z")

</div>

farmOS [4.0.1](https://github.com/farmOS/farmOS/releases/4.0.1) has been released.

For the full release notes, see [CHANGELOG.md](https://github.com/farmOS/farmOS/blob/4.0.1/CHANGELOG.md).

---

<div class="post-metadata">

**Author:** ![tlcarpenter69](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/tlcarpenter69/32/1026_2.png) [@tlcarpenter69](https://farmos.discourse.group/u/tlcarpenter69)\
**Post date:** [April 16, 2026, 2:09pm UTC](https://farmos.discourse.group/t/farmos-4-0-1-has-been-released/2507/2 "2026-04-16T14:09:40Z")

</div>

Did this introduce a change to break Asset Termination Logs? I see this now when I try to start 4.0.1:

```auto
The website encountered an unexpected error. Try again later.
Error: Undefined constant Drupal\log\Event\LogEvent::PRESAVE in Drupal\farm_asset_termination\EventSubscriber\LogEventSubscriber::getSubscribedEvents() (line 35 of sites/all/modules/farmos/farm_asset_termination/src/EventSubscriber/LogEventSubscriber.php).
Drupal\farm_asset_termination\EventSubscriber\LogEventSubscriber::getSubscribedEvents() (Line: 234)
Symfony\Component\EventDispatcher\DependencyInjection\ExtractingEventDispatcher::getSubscribedEvents() (Line: 162)
Symfony\Component\EventDispatcher\EventDispatcher->addSubscriber() (Line: 157)
Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass->process() (Line: 29)
Drupal\Core\DependencyInjection\Compiler\RegisterEventSubscribersPass->process() (Line: 73)
Symfony\Component\DependencyInjection\Compiler\Compiler->compile() (Line: 820)
Symfony\Component\DependencyInjection\ContainerBuilder->compile() (Line: 1532)
Drupal\Core\DrupalKernel->compileContainer() (Line: 1032)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 524)
Drupal\Core\DrupalKernel->boot() (Line: 743)
Drupal\Core\DrupalKernel->handle() (Line: 19)

```

If I go back to 4.0.0, the site loads without the error.

Thanks for all the work!  
Troy

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [April 16, 2026, 2:11pm UTC](https://farmos.discourse.group/t/farmos-4-0-1-has-been-released/2507/3 "2026-04-16T14:11:06Z")

</div>

Oops I think you’re right @tlcarpenter69… this might require a 4.0.2 release to fix… I’ll take a look…

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [April 16, 2026, 2:38pm UTC](https://farmos.discourse.group/t/farmos-4-0-1-has-been-released/2507/4 "2026-04-16T14:38:46Z")

</div>

Actually, I’m going to open a merge request to fix this in the Asset Termination module…

---

<div class="post-metadata">

**Author:** ![tlcarpenter69](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/tlcarpenter69/32/1026_2.png) [@tlcarpenter69](https://farmos.discourse.group/u/tlcarpenter69)\
**Post date:** [April 17, 2026, 5:37pm UTC](https://farmos.discourse.group/t/farmos-4-0-1-has-been-released/2507/5 "2026-04-17T17:37:08Z")

</div>

Where would I see the merge request so I can track when there’s a new version of the plugin?

---

<div class="post-metadata">

**Author:** ![Symbioquine](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/symbioquine/32/284_2.png) [@Symbioquine](https://farmos.discourse.group/u/Symbioquine)\
**Post date:** [April 17, 2026, 7:18pm UTC](https://farmos.discourse.group/t/farmos-4-0-1-has-been-released/2507/6 "2026-04-17T19:18:08Z")

</div>

I think it will be at [Merge requests · project / farm\_asset\_termination · GitLab](https://git.drupalcode.org/project/farm_asset_termination/-/merge_requests) (once it’s created)

---

<div class="post-metadata">

**Author:** ![tlcarpenter69](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/tlcarpenter69/32/1026_2.png) [@tlcarpenter69](https://farmos.discourse.group/u/tlcarpenter69)\
**Post date:** [April 17, 2026, 7:19pm UTC](https://farmos.discourse.group/t/farmos-4-0-1-has-been-released/2507/7 "2026-04-17T19:19:11Z")

</div>

Ok. That’s where I’ve been watching.

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [April 17, 2026, 9:34pm UTC](https://farmos.discourse.group/t/farmos-4-0-1-has-been-released/2507/8 "2026-04-17T21:34:34Z")

</div>

[https://www.drupal.org/project/farm\_asset\_termination/issues/3585522](https://www.drupal.org/project/farm_asset_termination/issues/3585522)

---

<div class="post-metadata">

**Author:** ![wotnak](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/wotnak/32/1103_2.png) [@wotnak](https://farmos.discourse.group/u/wotnak)\
**Post date:** [April 18, 2026, 1:41pm UTC](https://farmos.discourse.group/t/farmos-4-0-1-has-been-released/2507/9 "2026-04-18T13:41:26Z")

</div>

Fix released in farm\_asset\_termination [v2.1.1](https://www.drupal.org/project/farm_asset_termination/releases/2.1.1).

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [April 18, 2026, 4:49pm UTC](https://farmos.discourse.group/t/farmos-4-0-1-has-been-released/2507/10 "2026-04-18T16:49:08Z")

</div>

Thank you for the quick review @wotnak!!
