in the file event-espresso-core-reg/core/db_models/EEM_CPT_Base.model.php
on line 2, it reads: define('EE_Event_Category_Taxonomy', 'espresso_event_category');
and it should be, as used everywhere else in EE: define('EE_Event_Category_Taxonomy', 'espresso_event_categories');
The above is problematic only in the same file, where it’s used in the add_event_category() and remove_event_category() methods.
Bug #2:
in the same file on line 323, it reads: 'count' => 1,
This throws an EE_Error Exception: Invalid field (count) passed to constructor of EE_Term_Taxonomy. Allowed fields are :term_taxonomy_id, term_id, taxonomy, description, parent, term_count
as the error indicates, it should be: 'term_count' => 1,
according to the model, in file event-espresso-core-reg/core/db_models/EEM_Term_Taxonomy.model.php
on line 66: 'term_count' => new EE_Integer_Field(
Thanks so much for reporting this. If you’d like to submit a pull request with your suggested fixes, you are invited to make that happen via our Github repository:
If not, I’ll be sure to report these as issues there. In the future if you find anything else that needs fixing you’re welcome to post an issue on the public Github repo.
The support post ‘[bug] two small bugs + fixes’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.