Open manasaveerabomma opened 4 years ago
Error while deleting reasons from admin SQLSTATE[42S22]: Column not found: 1054 Unknown column 'reason_id' in 'where clause', query was: SELECT main_table.* FROM flurrybox_enhancedprivacy_delete_reasons AS main_table WHERE (reason_id IN('7'))
main_table
flurrybox_enhancedprivacy_delete_reasons
reason_id
Hi, I found the ans
In Flurrybox\EnhancedPrivacy\Model\ResourceModel\Reason\Collection.php file change protected $_idFieldName = 'resource_id'; to protected $_idFieldName = 'id';
Flurrybox\EnhancedPrivacy\Model\ResourceModel\Reason\Collection.php
protected $_idFieldName = 'resource_id';
protected $_idFieldName = 'id';
Error while deleting reasons from admin SQLSTATE[42S22]: Column not found: 1054 Unknown column 'reason_id' in 'where clause', query was: SELECT
main_table
.* FROMflurrybox_enhancedprivacy_delete_reasons
ASmain_table
WHERE (reason_id
IN('7'))