Are you able to confirm this is the case or is it our end?
Can you give more details?
Notable changes:
- Fixed missing alerts when people following
Truonglv updated The Following Alerts with a new update entry:
3.0.4
Read the rest of this update entry...
Server error log
LogicException: Cannot call fastUpdate until the entity is saved src/XF/Mvc/Entity/Entity.php:1319
Generated by: User101 Mar 26, 2021 at 12:32 AM
Stack trace
#0 src/addons/Truonglv/FollowingAlerts/XF/Service/User/Follow.php(29): XF\Mvc\Entity\Entity->fastUpdate('alert_preferenc...', Array)
#1 src/addons/Truonglv/FollowingAlerts/XF/Pub/Controller/Member.php(71): Truonglv\FollowingAlerts\XF\Service\User\Follow->follow()
#2 src/XF/Mvc/Dispatcher.php(350): Truonglv\FollowingAlerts\XF\Pub\Controller\Member->actionTFAFollow(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Member', 'TfaFollow', Object(XF\Mvc\RouteMatch), Object(XenConcept\HideBBCode\XF\Pub\Controller\Member), NULL)
#4 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XenConcept\HideBBCode\XF\Pub\Controller\Member), NULL)
#5 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#7 src/XF.php(488): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
Request state
array(4) {
["url"] => string(37) "/members/User102.1789538/tfa-follow"
["referrer"] => string(138) "https://domain.com/threads/thread-title.1053644/"
["_GET"] => array(1) {
["/members/emman2234_1789538/tfa-follow"] => string(0) ""
}
["_POST"] => array(8) {
["email"] => array(1) {
["thread_create"] => string(1) "1"
}
["alert"] => array(1) {
["thread_create"] => string(1) "1"
}
["redirect"] => string(1) "/"
["_tfa_input_included"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(118) "/threads/thread-title.1053644/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Bug?
I got this error today.
Code:Server error log LogicException: Cannot call fastUpdate until the entity is saved src/XF/Mvc/Entity/Entity.php:1319 Generated by: User101 Mar 26, 2021 at 12:32 AM Stack trace #0 src/addons/Truonglv/FollowingAlerts/XF/Service/User/Follow.php(29): XF\Mvc\Entity\Entity->fastUpdate('alert_preferenc...', Array) #1 src/addons/Truonglv/FollowingAlerts/XF/Pub/Controller/Member.php(71): Truonglv\FollowingAlerts\XF\Service\User\Follow->follow() #2 src/XF/Mvc/Dispatcher.php(350): Truonglv\FollowingAlerts\XF\Pub\Controller\Member->actionTFAFollow(Object(XF\Mvc\ParameterBag)) #3 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Member', 'TfaFollow', Object(XF\Mvc\RouteMatch), Object(XenConcept\HideBBCode\XF\Pub\Controller\Member), NULL) #4 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XenConcept\HideBBCode\XF\Pub\Controller\Member), NULL) #5 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #6 src/XF/App.php(2326): XF\Mvc\Dispatcher->run() #7 src/XF.php(488): XF\App->run() #8 index.php(20): XF::runApp('XF\\Pub\\App') #9 {main} Request state array(4) { ["url"] => string(37) "/members/User102.1789538/tfa-follow" ["referrer"] => string(138) "https://domain.com/threads/thread-title.1053644/" ["_GET"] => array(1) { ["/members/emman2234_1789538/tfa-follow"] => string(0) "" } ["_POST"] => array(8) { ["email"] => array(1) { ["thread_create"] => string(1) "1" } ["alert"] => array(1) { ["thread_create"] => string(1) "1" } ["redirect"] => string(1) "/" ["_tfa_input_included"] => string(1) "1" ["_xfToken"] => string(8) "********" ["_xfRequestUri"] => string(118) "/threads/thread-title.1053644/" ["_xfWithData"] => string(1) "1" ["_xfResponseType"] => string(4) "json" } }
Notable changes:
- Fixed cannot save follow options
Notable changes:
- Added feature allow user can quick update following options to users who they are following.