The Following Alerts

The Following Alerts [Paid] 4.0.0

PayPal: $30.00
HI - I am sure I have asked this before. Does version 3.x work on Xf 2.1? It says required for version 2.2 but I don't know if it is for 2.1 as well.
 
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…
forget 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.
ALMUSAI know. As I replied earlier nobita.me has same problems but it was resolved in last release.
 
Back
Top