An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Update app/Livewire/Project/Service/Heading.php
Andras Bacsai2424bd408b7c
diff --git a/app/Livewire/Project/Service/Heading.php b/app/Livewire/Project/Service/Heading.phpindex 96e94ce92d..f88f62e9c9 100644--- a/app/Livewire/Project/Service/Heading.php+++ b/app/Livewire/Project/Service/Heading.php@@ -102,7 +102,11 @@ class Heading extends Componentpublic function forceDeploy(){try {- $activities = Activity::where('properties->type_uuid', $this->service->uuid)->where('properties->status', ProcessStatus::IN_PROGRESS->value)->orWhere('properties->status', ProcessStatus::QUEUED->value)->get();+ $activities = Activity::where('properties->type_uuid', $this->service->uuid)+ ->where(function ($q) {+ $q->where('properties->status', ProcessStatus::IN_PROGRESS->value)+ ->orWhere('properties->status', ProcessStatus::QUEUED->value);+ })->get();foreach ($activities as $activity) {$activity->properties->status = ProcessStatus::ERROR->value;$activity->save();