ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 26,072
- Points
- 823
Reputation:
While assisting on another website, I came across this MySQL error
Code:
I believe the offending code is this bit in
PHP:
Should be
Continue reading...
Code:
XF\Db\Exception: MySQL query error [1366]: Incorrect integer value: '' for column 'email_subscribe' at row 1 src/XF/Db/AbstractStatement.php:230
I believe the offending code is this bit in
src/addons/XFRM/EmailStop/ResourceItem.php:41
PHP:
$resourceWatchRepo->setWatchState($resource, $user, 'update', ['email_subscribe' => false]);
Should be
['email_subscribe' => 0]
in order to not trigger the error.Continue reading...