The Following Alerts

The Following Alerts [Paid] 4.0.0

PayPal: $30.00
Code:
TypeError: Macro public:message_macros :: user_info() error: Argument 1 passed to XF\Entity\User::canFollowUser() must be an instance of XF\Entity\User, null given, called in /home/public_html/src/XF/Template/Templater.php on line 1191 src/XF/Entity/User.php:820
Generated by: Unknown account May 23, 2022 at 10:10 PM
Stack trace
#0 src/XF/Template/Templater.php(1191): XF\Entity\User->canFollowUser(NULL)
#1 internal_data/code_cache/templates/l5/s40/public/message_macros.php(34): XF\Template\Templater->method(Object(SV\WarningImprovements\XF\Entity\User), 'canFollowUser', Array)
#2 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, NULL)
#3 internal_data/code_cache/templates/l5/s40/public/post_macros.php(25): XF\Template\Templater->callMacro('message_macros', 'user_info', Array, Array)
#4 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#5 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('user_cell', Array, Array, Object(XF\Template\ExtensionSet))
#6 internal_data/code_cache/templates/l5/s40/public/post_macros.php(146): XF\Template\Templater->renderExtension('user_cell', Array, Object(XF\Template\ExtensionSet))
#7 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#8 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#9 internal_data/code_cache/templates/l5/s40/public/post_macros.php(190): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#10 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#11 internal_data/code_cache/templates/l5/s40/public/thread_view.php(995): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#12 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#13 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#14 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#15 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#16 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#19 src/XF/App.php(2352): XF\Mvc\Dispatcher->run()
#20 src/XF.php(524): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}
 
Code:
TypeError: Macro public:message_macros :: user_info() error: Argument 1 passed to XF\Entity\User::canFollowUser() must be an instance of XF\Entity\User, null given, called in /home/public_html/src/XF/Template/Templater.php on line 1191 src/XF/Entity/User.php:820
Generated by: Unknown account May 23, 2022 at 10:10 PM
Stack trace
#0 src/XF/Template/Templater.php(1191): XF\Entity\User->canFollowUser(NULL)
#1 internal_data/code_cache/templates/l5/s40/public/message_macros.php(34): XF\Template\Templater->method(Object(SV\WarningImprovements\XF\Entity\User), 'canFollowUser', Array)
#2 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, NULL)
#3 internal_data/code_cache/templates/l5/s40/public/post_macros.php(25): XF\Template\Templater->callMacro('message_macros', 'user_info', Array, Array)
#4 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#5 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('user_cell', Array, Array, Object(XF\Template\ExtensionSet))
#6 internal_data/code_cache/templates/l5/s40/public/post_macros.php(146): XF\Template\Templater->renderExtension('user_cell', Array, Object(XF\Template\ExtensionSet))
#7 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#8 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#9 internal_data/code_cache/templates/l5/s40/public/post_macros.php(190): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#10 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#11 internal_data/code_cache/templates/l5/s40/public/thread_view.php(995): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#12 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#13 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#14 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#15 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#16 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#19 src/XF/App.php(2352): XF\Mvc\Dispatcher->run()
#20 src/XF.php(524): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}
ALMUSAplease upgrade to 3.1.1
 
View previous replies…
It is but it also have condition to check that.
TruonglvI have installed it on localhost and this error was not thrown. However, I installed Xon warning improvement add-on and then this error came up. It looks like there is a conflict with this add-on somehow.


here is the error again, it looks a bit different this time calling for tfa_follwoing_alerts_macro


Code:
TypeError: Macro public:tfa_following_alerts_macros :: button_follow() error: Argument 1 passed to XF\Entity\User::canFollowUser() must be an instance of XF\Entity\User, null given, called in D:\xampp\htdocs\xf\src\XF\Template\Templater.php on line 1191 src\XF\Entity\User.php:820
Generated by: admin May 28, 2022 at 6:37 AM
Stack trace
#0 src\XF\Template\Templater.php(1191): XF\Entity\User->canFollowUser(NULL)
#1 internal_data\code_cache\templates\l2\s1\public\tfa_following_alerts_macros.php(98): XF\Template\Templater->method(Object(SV\WarningImprovements\XF\Entity\User), 'canFollowUser', Array)
#2 src\XF\Template\Templater.php(824): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#3 internal_data\code_cache\templates\l2\s1\public\message_macros.php(48): XF\Template\Templater->callMacro('tfa_following_a...', 'button_follow', Array, Array)
#4 src\XF\Template\Templater.php(824): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#5 internal_data\code_cache\templates\l2\s1\public\post_macros.php(25): XF\Template\Templater->callMacro('message_macros', 'user_info', Array, Array)
#6 src\XF\Template\Templater.php(987): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#7 src\XF\Template\Templater.php(923): XF\Template\Templater->renderExtensionInternal('user_cell', Array, Array, Object(XF\Template\ExtensionSet))
#8 internal_data\code_cache\templates\l2\s1\public\post_macros.php(146): XF\Template\Templater->renderExtension('user_cell', Array, Object(XF\Template\ExtensionSet))
#9 src\XF\Template\Templater.php(987): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#10 src\XF\Template\Templater.php(923): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#11 internal_data\code_cache\templates\l2\s1\public\post_macros.php(178): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#12 src\XF\Template\Templater.php(824): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#13 internal_data\code_cache\templates\l2\s1\public\thread_view.php(795): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#14 src\XF\Template\Templater.php(1651): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#15 src\XF\Template\Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#16 src\XF\Mvc\Renderer\Html.php(50): XF\Template\Template->render()
#17 src\XF\Mvc\Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#18 src\XF\Mvc\Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src\XF\Mvc\Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#20 src\XF\Mvc\Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#21 src\XF\App.php(2351): XF\Mvc\Dispatcher->run()
#22 src\XF.php(517): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
 
I have installed it on localhost and this error was not thrown. However, I installed Xon warning improvement add-on and then this error came up. It looks like there is a conflict with this add-on somehow.


here is the error again, it looks a bit different this time calling for tfa_follwoing_alerts_macro


Code:
TypeError: Macro public:tfa_following_alerts_macros :: button_follow() error: Argument 1 passed to XF\Entity\User::canFollowUser() must be an instance of XF\Entity\User, null given, called in D:\xampp\htdocs\xf\src\XF\Template\Templater.php on line 1191 src\XF\Entity\User.php:820
Generated by: admin May 28, 2022 at 6:37 AM
Stack trace
#0 src\XF\Template\Templater.php(1191): XF\Entity\User->canFollowUser(NULL)
#1 internal_data\code_cache\templates\l2\s1\public\tfa_following_alerts_macros.php(98): XF\Template\Templater->method(Object(SV\WarningImprovements\XF\Entity\User), 'canFollowUser', Array)
#2 src\XF\Template\Templater.php(824): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#3 internal_data\code_cache\templates\l2\s1\public\message_macros.php(48): XF\Template\Templater->callMacro('tfa_following_a...', 'button_follow', Array, Array)
#4 src\XF\Template\Templater.php(824): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#5 internal_data\code_cache\templates\l2\s1\public\post_macros.php(25): XF\Template\Templater->callMacro('message_macros', 'user_info', Array, Array)
#6 src\XF\Template\Templater.php(987): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#7 src\XF\Template\Templater.php(923): XF\Template\Templater->renderExtensionInternal('user_cell', Array, Array, Object(XF\Template\ExtensionSet))
#8 internal_data\code_cache\templates\l2\s1\public\post_macros.php(146): XF\Template\Templater->renderExtension('user_cell', Array, Object(XF\Template\ExtensionSet))
#9 src\XF\Template\Templater.php(987): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#10 src\XF\Template\Templater.php(923): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#11 internal_data\code_cache\templates\l2\s1\public\post_macros.php(178): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#12 src\XF\Template\Templater.php(824): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#13 internal_data\code_cache\templates\l2\s1\public\thread_view.php(795): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#14 src\XF\Template\Templater.php(1651): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#15 src\XF\Template\Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#16 src\XF\Mvc\Renderer\Html.php(50): XF\Template\Template->render()
#17 src\XF\Mvc\Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#18 src\XF\Mvc\Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src\XF\Mvc\Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#20 src\XF\Mvc\Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#21 src\XF\App.php(2351): XF\Mvc\Dispatcher->run()
#22 src\XF.php(517): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
ALMUSAwell actually I deleted Xon add-on and still this error is thrown.

Code:
TypeError: Macro public:tfa_following_alerts_macros :: button_follow() error: Argument 1 passed to XF\Entity\User::canFollowUser() must be an instance of XF\Entity\User, null given, called in D:\xampp\htdocs\xf\src\XF\Template\Templater.php on line 1191 src\XF\Entity\User.php:820
Generated by: admin May 28, 2022 at 6:52 AM
Stack trace
#0 src\XF\Template\Templater.php(1191): XF\Entity\User->canFollowUser(NULL)
#1 internal_data\code_cache\templates\l2\s1\public\tfa_following_alerts_macros.php(98): XF\Template\Templater->method(Object(XF\Entity\User), 'canFollowUser', Array)
#2 src\XF\Template\Templater.php(824): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#3 internal_data\code_cache\templates\l2\s1\public\message_macros.php(48): XF\Template\Templater->callMacro('tfa_following_a...', 'button_follow', Array, Array)
#4 src\XF\Template\Templater.php(824): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#5 internal_data\code_cache\templates\l2\s1\public\post_macros.php(25): XF\Template\Templater->callMacro('message_macros', 'user_info', Array, Array)
#6 src\XF\Template\Templater.php(987): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#7 src\XF\Template\Templater.php(923): XF\Template\Templater->renderExtensionInternal('user_cell', Array, Array, Object(XF\Template\ExtensionSet))
#8 internal_data\code_cache\templates\l2\s1\public\post_macros.php(146): XF\Template\Templater->renderExtension('user_cell', Array, Object(XF\Template\ExtensionSet))
#9 src\XF\Template\Templater.php(987): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#10 src\XF\Template\Templater.php(923): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#11 internal_data\code_cache\templates\l2\s1\public\post_macros.php(178): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#12 src\XF\Template\Templater.php(824): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#13 internal_data\code_cache\templates\l2\s1\public\thread_view.php(795): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#14 src\XF\Template\Templater.php(1651): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#15 src\XF\Template\Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#16 src\XF\Mvc\Renderer\Html.php(50): XF\Template\Template->render()
#17 src\XF\Mvc\Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#18 src\XF\Mvc\Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src\XF\Mvc\Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#20 src\XF\Mvc\Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#21 src\XF\App.php(2351): XF\Mvc\Dispatcher->run()
#22 src\XF.php(517): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
 
well actually I deleted Xon add-on and still this error is thrown.

Code:
TypeError: Macro public:tfa_following_alerts_macros :: button_follow() error: Argument 1 passed to XF\Entity\User::canFollowUser() must be an instance of XF\Entity\User, null given, called in D:\xampp\htdocs\xf\src\XF\Template\Templater.php on line 1191 src\XF\Entity\User.php:820
Generated by: admin May 28, 2022 at 6:52 AM
Stack trace
#0 src\XF\Template\Templater.php(1191): XF\Entity\User->canFollowUser(NULL)
#1 internal_data\code_cache\templates\l2\s1\public\tfa_following_alerts_macros.php(98): XF\Template\Templater->method(Object(XF\Entity\User), 'canFollowUser', Array)
#2 src\XF\Template\Templater.php(824): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#3 internal_data\code_cache\templates\l2\s1\public\message_macros.php(48): XF\Template\Templater->callMacro('tfa_following_a...', 'button_follow', Array, Array)
#4 src\XF\Template\Templater.php(824): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#5 internal_data\code_cache\templates\l2\s1\public\post_macros.php(25): XF\Template\Templater->callMacro('message_macros', 'user_info', Array, Array)
#6 src\XF\Template\Templater.php(987): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#7 src\XF\Template\Templater.php(923): XF\Template\Templater->renderExtensionInternal('user_cell', Array, Array, Object(XF\Template\ExtensionSet))
#8 internal_data\code_cache\templates\l2\s1\public\post_macros.php(146): XF\Template\Templater->renderExtension('user_cell', Array, Object(XF\Template\ExtensionSet))
#9 src\XF\Template\Templater.php(987): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#10 src\XF\Template\Templater.php(923): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#11 internal_data\code_cache\templates\l2\s1\public\post_macros.php(178): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#12 src\XF\Template\Templater.php(824): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#13 internal_data\code_cache\templates\l2\s1\public\thread_view.php(795): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#14 src\XF\Template\Templater.php(1651): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#15 src\XF\Template\Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#16 src\XF\Mvc\Renderer\Html.php(50): XF\Template\Template->render()
#17 src\XF\Mvc\Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#18 src\XF\Mvc\Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src\XF\Mvc\Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#20 src\XF\Mvc\Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#21 src\XF\App.php(2351): XF\Mvc\Dispatcher->run()
#22 src\XF.php(517): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
ALMUSAWhat is Xon Add-on?
 
What is Xon Add-on?
Truonglvforget about that. I thought there was a conflict but tested that and there was none.

anyway, this issue as I mentioned earlier if a deleted user is following you this error will get thrown up every time you post.

To reproduce this:

create a new user > follow yourself (alert for post and thread)> delete that user > post a thread or a post > check error log.
 
Back
Top