One Command Installer MySQL Issue

Laraship QuestionsCategory: TechnicalOne Command Installer MySQL Issue
Trevor Clarke asked 2 years ago
doing a fresh install via the one command installer process and I\'m getting an error todo with the settings table data... see screenshots
Attachments
1 Answers
Best Answer
laraship Staff answered 2 years ago
Hello Trevor We just pushed a fix to the issue you have above, can you please download the latest package and do a fresh installation again
Trevor Clarke replied 2 years ago

I’ve downloaded and gone through the install steps, selecting fresh install, Subscription, stripe, Corals Saas.

Seemed to complete ok in the terminal.

When I go to the domain address I get 500 error:

[2022-02-02 17:53:42] local.ERROR: Declaration of Corals\Modules\Utility\Models\Address\Location::sluggable() must be compatible with Cviebrock\EloquentSluggable\Sluggable::sluggable(): array {“exception”:”[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Declaration of Corals\\Modules\\Utility\\Models\\Address\\Location::sluggable() must be compatible with Cviebrock\\EloquentSluggable\\Sluggable::sluggable(): array at /public_html/Corals/modules/Utility/Models/Address/Location.php:36)
[stacktrace]
#0 {main}
“}

I’ve changed
public function sluggable()

to

public function sluggable(): array

in:
/public_html/Corals/modules/Utility/Models/Address/Location.php
/public_html/Corals/modules/CMS/Models/Faq.php

and now the laraship loads on the domain