alerts addon summarization?

moshbit

Member
Reactions
20
Hey there, sorry if this is in the wrong area, I'm not sure if this is a bug or not. I'm just a little confused on the way summarizations are displayed in the alert dropdown:

screenshot-squattheplanet.com-2019.01.10-09-32-10.png


i see there's a link to 'unsummarize alerts' but it's a little unclear what's being summarized/unsummarized based on what's being displayed here. maybe i just need a phrase or something here that says 'unsummarize alerts from [user]' or whatever? the way it displays now, it just lists the date (no user name) and 'unsummarize alerts' which is a bit confusing to new user what that might actually relate to.
 
The summary alert should show a bunch more information, it should have a count of what has been summarized and such.

Can you see if there are any errors in the error log?
 
The summary alert should show a bunch more information, it should have a count of what has been summarized and such.

Can you see if there are any errors in the error log?

sure, maybe this one is related?

Code:
Server error log
ErrorException: Template error: Template public:news_feed_item_post_react is unknown src/XF/Template/Templater.php:584
Generated by: Unknown account Jan 11, 2019 at 9:03 AM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', '/home/nginx/dom...', 584, Array)
#1 src/XF/Template/Templater.php(584): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(539): XF\Template\Templater->getTemplateData('public', 'news_feed_item_...')
#3 src/XF/Template/Templater.php(1249): XF\Template\Templater->getTemplateCode('public', 'news_feed_item_...')
#4 src/XF/NewsFeed/AbstractHandler.php(77): XF\Template\Templater->renderTemplate('news_feed_item_...', Array)
#5 src/XF/Entity/NewsFeed.php(80): XF\NewsFeed\AbstractHandler->render(Object(SV\ContentRatings\XF\Entity\NewsFeed))
#6 [internal function]: XF\Entity\NewsFeed->render()
#7 src/XF/Template/Templater.php(940): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l3/s115/public/news_feed_macros.php(34): XF\Template\Templater->method(Object(SV\ContentRatings\XF\Entity\NewsFeed), 'render', Array)
#9 src/XF/Template/Templater.php(663): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l3/s115/public/news_feed_macros.php(14): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_item', Array, Array)
#11 src/XF/Template/Templater.php(663): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array, Array)
#12 internal_data/code_cache/templates/l3/s115/public/member_latest_activity.php(34): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_row', Array, Array)
#13 src/XF/Template/Templater.php(1250): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array)
#14 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('member_latest_a...', Array)
#15 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#16 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Member\\Lates...', 'public:member_l...', Array)
#17 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#19 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#20 src/XF.php(333): XF\App->run()
#21 index.php(13): XF::runApp('XF\\Pub\\App')
#22 {main}
Request state
array(4) {
  ["url"] => string(41) "/members/wallygator.23705/latest-activity"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/members/wallygator_23705/latest-activity"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

i'm also getting this:

Code:
Server error log
ErrorException: Template error: Template public:news_feed_item_profile_post_react is unknown src/XF/Template/Templater.php:584
Generated by: Unknown account Jan 11, 2019 at 7:45 AM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', '/home/nginx/dom...', 584, Array)
#1 src/XF/Template/Templater.php(584): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(539): XF\Template\Templater->getTemplateData('public', 'news_feed_item_...')
#3 src/XF/Template/Templater.php(1249): XF\Template\Templater->getTemplateCode('public', 'news_feed_item_...')
#4 src/XF/NewsFeed/AbstractHandler.php(77): XF\Template\Templater->renderTemplate('news_feed_item_...', Array)
#5 src/XF/Entity/NewsFeed.php(80): XF\NewsFeed\AbstractHandler->render(Object(SV\ContentRatings\XF\Entity\NewsFeed))
#6 [internal function]: XF\Entity\NewsFeed->render()
#7 src/XF/Template/Templater.php(940): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l3/s115/public/news_feed_macros.php(34): XF\Template\Templater->method(Object(SV\ContentRatings\XF\Entity\NewsFeed), 'render', Array)
#9 src/XF/Template/Templater.php(663): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l3/s115/public/news_feed_macros.php(14): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_item', Array, Array)
#11 src/XF/Template/Templater.php(663): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array, Array)
#12 internal_data/code_cache/templates/l3/s115/public/member_latest_activity.php(34): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_row', Array, Array)
#13 src/XF/Template/Templater.php(1250): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array)
#14 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('member_latest_a...', Array)
#15 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#16 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Member\\Lates...', 'public:member_l...', Array)
#17 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#19 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#20 src/XF.php(333): XF\App->run()
#21 index.php(13): XF::runApp('XF\\Pub\\App')
#22 {main}
Request state
array(4) {
  ["url"] => string(45) "/members/crazy-squirrel.16122/latest-activity"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/members/crazy-squirrel_16122/latest-activity"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

and this:

Code:
Server error log
ErrorException: Template error: Template public:news_feed_item_xfmg_media_react is unknown src/XF/Template/Templater.php:584
Generated by: Unknown account Jan 11, 2019 at 2:53 AM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', '/home/nginx/dom...', 584, Array)
#1 src/XF/Template/Templater.php(584): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(539): XF\Template\Templater->getTemplateData('public', 'news_feed_item_...')
#3 src/XF/Template/Templater.php(1249): XF\Template\Templater->getTemplateCode('public', 'news_feed_item_...')
#4 src/XF/NewsFeed/AbstractHandler.php(77): XF\Template\Templater->renderTemplate('news_feed_item_...', Array)
#5 src/XF/Entity/NewsFeed.php(80): XF\NewsFeed\AbstractHandler->render(Object(SV\ContentRatings\XF\Entity\NewsFeed))
#6 [internal function]: XF\Entity\NewsFeed->render()
#7 src/XF/Template/Templater.php(940): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l3/s115/public/news_feed_macros.php(34): XF\Template\Templater->method(Object(SV\ContentRatings\XF\Entity\NewsFeed), 'render', Array)
#9 src/XF/Template/Templater.php(663): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l3/s115/public/news_feed_macros.php(14): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_item', Array, Array)
#11 src/XF/Template/Templater.php(663): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array, Array)
#12 internal_data/code_cache/templates/l3/s115/public/member_latest_activity.php(34): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_row', Array, Array)
#13 src/XF/Template/Templater.php(1250): XF\Template\Templater->{closure}(Object(SV\ContentRatings\XF\Template\Templater), Array)
#14 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('member_latest_a...', Array)
#15 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#16 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Member\\Lates...', 'public:member_l...', Array)
#17 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#19 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#20 src/XF.php(333): XF\App->run()
#21 index.php(13): XF::runApp('XF\\Pub\\App')
#22 {main}
Request state
array(4) {
  ["url"] => string(34) "/members/fig.20580/latest-activity"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/members/fig_20580/latest-activity"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Probably unrelated. "public:news_feed_item_xfmg_media_react" is from ThemeHouse's Reactions, which looks like it doesn't clean up after itself on uninstall.
 
not sure if it's related, but i noticed another issue with the content ratings addon which i created a thread about here:

https://atelieraphelion.com/threads/possible-conflict-with-other-addons.417/

Probably unrelated. "public:news_feed_item_xfmg_media_react" is from ThemeHouse's Reactions, which looks like it doesn't clean up after itself on uninstall.

themehouse sent me a new version to install then uninstall, which so far has eliminated these errors.

im not sure if there is still an issue with the summarizations though? is there a way i can force a summarization to test with?
 
@moshbit on the /account/alerts page therte should be a "Resummarize alerts". This will delete all summarization alerts and then attempt to rebuild them.
 
@moshbit on the /account/alerts page therte should be a "Resummarize alerts". This will delete all summarization alerts and then attempt to rebuild them.

hmm okay, i did that, not sure if it helps, but it seems it's only doing that in the alerts dropdown. i inspected the code with chrome and came up with this:

Code:
<div class="contentRow-minor contentRow-minor--smaller">
                <time class="u-dt" dir="auto" datetime="2019-01-30T20:55:50-0800" data-time="1548910550" data-date-string="Jan 30, 2019" data-time-string="8:55 PM" title="Jan 30, 2019 at 8:55 PM">Wednesday at 8:55 PM</time>

    
    <a class="markAlertUnread" data-xf-click="mark-alert-unread" href="https://squattheplanet.com/account/unread-alert?alert_id=887308">
        <span class="unreadLink">
            
            Mark unread</span></a>,


    <a class="unsummarizeAlert" href="https://squattheplanet.com/account/unsummarize-alert?alert_id=887308">
        <span class="unreadLink">
            Unsummarize alerts
        </span>
    </a>

            </div>

here's a screen shot if it helps:

screenshot-squattheplanet.com-2019.02.03-14-08-11.png
 
That is bizarre.

This is with XenForo 2.0.x right? I think I need to update the XF2.1 support :(
 
Might need to check how the summarization bits are working since something is borked for you
 
well, if you need an admin login or anything else from me, just say the word!

obviously not a huge deal, so definitely take your time.
 

Users who are viewing this thread

Back
Top