Technical mumbo-jumbo. Because that's totally a technical term
what is the error @Mario?
other way around. DriverID should be on that object, Member will probably have nothing (has one, not has many)
If the Member (
DriverID) is set, that should be possible
Hej @Firesphere There’s already a column MemberID for this DataObject. But as soon as I add the
has_one the site crashes without error. And I want to access the member via
How are you applying these additions?
There are no restrictions, but just your
has_one doesn't tell much 🙂
I’m trying to create a
has_one relation to a
SilverStripe\Security\Member, but it doesn’t seem to work.
Are there any restrictions?
- private static $has_one = [
- 'Startnumber' => EscStartnumber::class,
- 'Race' => EscRace::class,
- 'Season' => EscSeason::class,
- 'Driver' => Member::class,
- 'Class' => EscClass::class
Security updates for PHP 7.0 are still offered on Ubuntu 16.04 LTS. Ironically, it's the opposite.... server's on 7.2 and local VM is on 7.0. An upgrade to both will come soon.
Yeah that's a point. E.g. If the site was developed (locally) on PHP 7.2, but the server runs PHP 7.0, then
composer install is going to have a bad time :/
An update often would work then, but still, using 7.0 is not a good idea