Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 26, 20222 yr Members are reporting that the notifications aren't loading for some users. Screenshot below of a user on the default theme so it doesn't seem to be theme related. This was on iPhone Safari browser but another user explained that it is doing the same thing on an Android Chrome browser. Weirdly, its working for me on my desktop and mobile. Only AdminCP thing done recently was upgrade to 4.7.3. I've also cleared System Caches and that doesn't fix their issue. Any help would be greatly appreciated.
October 26, 20222 yr Author This seems to say: More users seem to be reporting it now so looks like this issue. No idea what GameQ is though! We haven't got any apps with that name as far as i'm aware.
October 26, 20222 yr check in your applications list to see if thats the name of an author Also, have you disabled everything to check first of all?
October 26, 20222 yr Another test is to click in the bell icon to open on a new tab. It will show the error.
October 26, 20222 yr Author The user clicked show all and he got this @Adriano Faria @Marc Stridgen - Tournaments is disabled though as its incompatible and therefore disabled in Applications. Didn't think that would cause an issue?
October 26, 20222 yr If it is disabled, it shouldn’t point an error. New version is pending. let me know if you have FTP access to your server. 10 seconds fix.
October 26, 20222 yr 2 minutes ago, Marc Stridgen said: Glad you found the cause of the issue there. It shouldn't be an issue as the app is disable. Something wrong in the framework.
October 26, 20222 yr Is the application really disabled? What is the full error stack in this case? Where is it trying to load this? I'm asking because we're indeed loading only the notifications of enabled apps for the notifications menu and the notifications table. /* Limit applications */ $where[] = array( "notification_app IN('" . implode( "','", array_keys( \IPS\Application::enabledApplications() ) ) . "')" );
October 26, 20222 yr Just now, Daniel F said: Is the application really disabled? According to @GazzaGarratt, it was disabled when upgraded to 4.7.3. Can you confirm it IS disable, @GazzaGarratt? 29 minutes ago, Adriano Faria said: let me know if you have FTP access to your server. 10 seconds fix. IF you don't want to wait for the file review, open applications / tournaments / Sources / Tournaments / Tournaments.php and find the method getItemsWithPermission. Change it to: public static function getItemsWithPermission( $where=array(), $order=NULL, $limit=10, $permissionKey='read', $includeHiddenItems=\IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags=0, \IPS\Member $member=NULL, $joinContainer=FALSE, $joinComments=FALSE, $joinReviews=FALSE, $countOnly=FALSE, $joins=NULL, $skipPermission=FALSE, $joinTags=TRUE, $joinAuthor=TRUE, $joinLastCommenter=TRUE, $showMovedLinks=FALSE, $location=NULL ) { $member = $member ?: \IPS\Member::loggedIn(); if ( !$member->isAdmin() ) { $joinContainer = TRUE; } return parent::getItemsWithPermission( $where, $order, $limit, $permissionKey, $includeHiddenItems, $queryFlags, $member, $joinContainer, $joinComments, $joinReviews, $countOnly, $joins, $skipPermission, $joinTags, $joinAuthor, $joinLastCommenter, $showMovedLinks, $location ); } Scanner won't flag as incompatible and you can enable the app.
October 26, 20222 yr Author Yes, Tournaments disabled automatically after 4.7.3 upgrade @Adriano Faria @Daniel F:
October 26, 20222 yr Just now, GazzaGarratt said: Yes, Tournaments disabled automatically after 4.7.3 upgrade Do the above, if your have FTP and the problem may end up, if this is the cause.
October 26, 20222 yr 7 minutes ago, Daniel F said: What is the full error stack in this case? Where is it trying to load this?
October 26, 20222 yr Author I can try for sure @Adriano Faria but I suppose i'm just conscious that it may not be that and don't want to knock the whole site offline. @Daniel F I asked the user and that error came from when they selected Show All Notifications, so I don't believe thats root cause of the notifications loading. I'm waiting on a user thats having the issue to just have 2 minutes of time to see if its one of the Applications causing it. Its definitely not plugins as we checked that this morning.
October 26, 20222 yr Author Brief update - I got a user to check after disabling all 3rd party applications and its still happened to him.
October 26, 20222 yr Author I've now been able to disable all plugins and applications 3rd party and the error still occurs. Any thoughts @Marc Stridgen @Daniel F? Many thanks in advance.
October 26, 20222 yr We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you.
October 26, 20222 yr Author 3 hours ago, Marc Stridgen said: We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you. I think i've updated it crrectly now Marc, hope this helps 🙂
October 26, 20222 yr Could you please provide a user who is encountering this issue? We can then further investigate the full error log we're after.
October 26, 20222 yr Author 18 minutes ago, Jim M said: Could you please provide a user who is encountering this issue? We can then further investigate the full error log we're after. Sure thing - LordBaguette and Macca89 have experienced it. Diddums had it this morning too.