Create blog issue

  • I am getting this error while creating a blog:
    Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (likemobi_admin.cms_blogs, CONSTRAINT cms_blogs_channel_id_foreign FOREIGN KEY (channel_id) REFERENCES channels (id) ON DELETE CASCADE) (SQL: insert into cms_blogs (updated_at, created_at) values (2021-04-07 15:45:43, 2021-04-07 15:45:43))

    The blog is the same as Bagisto pages but I am getting this error.

  • Hi @Megalight,

    May I know what you are trying to do and the steps so that I can check where the problem actually lies.

Log in to reply