← Back to Mega Posts & Events Support
This error occurred when creating news (no event):
"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'event_id' in 'where clause' (SQL: select * from fszteam_generated_dates
where event_id
= 1 and fszteam_generated_dates
.deleted_at
is null)" on line 664 of /home/admin/web/domain.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
Besides, I do not understand the purpose of the "Blog" and "Press Release" items - you cannot describe these functions !?
dhuunghia6211 said:
This error occurred when creating news (no event):
"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'event_id' in 'where clause' (SQL: select * from
fszteam_generated_dates
whereevent_id
= 1 andfszteam_generated_dates
.deleted_at
is null)" on line 664 of /home/admin/web/domain.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.phpBesides, I do not understand the purpose of the "Blog" and "Press Release" items - you cannot describe these functions !?
Fixed in 2 files https://i.vgy.me/lZbfcv.jpg
From 'event_id' to 'posts_id' and everything works. But... Why create an event if it is already marked as news !?
We also found an error: when creating news, a news category was selected. There is a category in the news itself, but it is not in the posts'list. Also in the category section - this news is also not in there category.
1-3 of 3