Skip to content

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'webseite1.field_dates_extras' doesn't exist #2

@juergenweb

Description

@juergenweb

Hi,

after adding a newly created field named "dates" to a template, I always get the message that the table "extras" of the field called "dates" does not exist. I have checked, if the Hook, who is responsible for creating the table starts, but in my case it does not fire.
I have checked it with Tracy multiple times by adding a bd() statement inside the Hook method.

This is the Hook that I mean (in FieldtypeRecurringDates.module):

$this->addHookAfter('Fields::added', $this, 'hookAfterFieldAdded');

The method you are hooking is located inside the parent class "WireSaveableItems" and should be run if a new inputfield will be created, right?

Mabe you could check if the table will be created in your case or in other words if the Hook fires in your case.

Best regards

BTW also the delete Hook does not fire in my case.

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