Skip to content

After Installing and trying to create a new Calendar getting error: 'DB Error: no such field' #116

@duncan-s-white

Description

@duncan-s-white

CiviCRM: v6.4
Event Calendar: 4.6
Wordpress: 6.8.2

After Installing the extension through the UI and trying to create a new Calendar, the calendar is not being created and I am getting error: 'DB Error: no such field' error message.

After looking at the logs, the field in question was the is_deafult field.

I can see that my extension does have the upgrade_1004 to the database in the Upgrader.php file, so I cam not sure why this upgrade is not creating the field.

I uninstalled the extension which I could see completely removed the civicrm_event_calendar table and then reinstalled, however the is_default field was still not present.

When I create the is_default field manually tot he same spec as the Upgrader file in the civicrm_event_calendar table and then create a calendar, calendar is created, and can be displayed on the front end of my wordpress site as expected.

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