Skip to content

Newsletter Subscribe from Blog Post public page throws SQL error when using Table Prefix #45

@mercury64

Description

@mercury64

Subscribe/Newsletter from admin panel works fine.

The config table prefix is not applied.

But from public post page:

 Subscribe to our Newsletter

Subscribe to our mailing list to receive daily updates direct to your inbox! 

Throws the following error:

SQLSTATE[HY000]: General error: 1 no such table: news_letters (Connection: sqlite, SQL: select count(*) as aggregate from "news_letters" where "email" =

The table name should be fblog_news_letters not news_letters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions