codefog/contao-news_categories

Contao 4.13.2 Table 'tl_news_categories' doesn't exist

tomjpeg opened this issue · 3 comments

Under 4.13 I get the error when saving a new news categories that the table tl_news_categories does not exist. If I understand it correctly here is correctly referred to the wrong database. In the meantime the table seems to be called tl_news_category.

'relationTable' => 'tl_news_categories',

The error unfortunately also leads to the fact that certain articles can no longer be restored because the function is accessed.

Is my assumption correct?

Please open Contao Install Tool and see if there are any pending queries to execute.

Hey,
thanks for the answer.

Of course we have done that several times. Also we have reinstalled and removed the plugin several times.

The table tl_news_category stores the actual category data, whereas tl_news_categories is used as a relational table between tl_news and tl_news_category. The tl_news_categories table should be created automatically by the Haste extension and in the next "round" of the SQL queries after the tl_news_category has been created.

Have you got any other extensions installed on your system?