Skip to content

Error on Fresh Installation #61

@gyan111

Description

@gyan111

Laravel 6
Issue 1:
Class App\Author contains 18 abstract methods and must therefore be declared abstract or implement the remaining methods.

I have checked and this issue is occurring when I add "implements TranslatableContract" to the class

Issue 2: (Solved)
If I add
$table->foreign('post_id')->references('id')->on('posts')->onDelete('cascade');
I am getting an error while migrating

SQLSTATE[HY000]: General error: 1005 Can't create table ts.post_translations (errno: 150 "Foreign key constraint is incorrectly formed") (SQL: alter table post_translations add constraint post_translations_post_id_foreign foreign key (post_id) references posts (id) on delete cascade)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions