Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
GazzaGarratt Posted October 26, 2022 Posted October 26, 2022 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.
Adriano Faria Posted October 26, 2022 Posted October 26, 2022 See the content of the log in your ACP. GazzaGarratt 1
GazzaGarratt Posted October 26, 2022 Author Posted October 26, 2022 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.
Marc Posted October 26, 2022 Posted October 26, 2022 check in your applications list to see if thats the name of an author Also, have you disabled everything to check first of all?
Adriano Faria Posted October 26, 2022 Posted October 26, 2022 Another test is to click in the bell icon to open on a new tab. It will show the error.
Marc Posted October 26, 2022 Posted October 26, 2022 Just to note, the above is not instead of disabling all 3rd party items. GazzaGarratt 1
GazzaGarratt Posted October 26, 2022 Author Posted October 26, 2022 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?
Adriano Faria Posted October 26, 2022 Posted October 26, 2022 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. GazzaGarratt 1
Adriano Faria Posted October 26, 2022 Posted October 26, 2022 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. GazzaGarratt 1
Daniel F Posted October 26, 2022 Posted October 26, 2022 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() ) ) . "')" ); Adriano Faria 1
Adriano Faria Posted October 26, 2022 Posted October 26, 2022 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.
GazzaGarratt Posted October 26, 2022 Author Posted October 26, 2022 Yes, Tournaments disabled automatically after 4.7.3 upgrade @Adriano Faria @Daniel F:
Adriano Faria Posted October 26, 2022 Posted October 26, 2022 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.
Daniel F Posted October 26, 2022 Posted October 26, 2022 7 minutes ago, Daniel F said: What is the full error stack in this case? Where is it trying to load this?
GazzaGarratt Posted October 26, 2022 Author Posted October 26, 2022 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.
GazzaGarratt Posted October 26, 2022 Author Posted October 26, 2022 Brief update - I got a user to check after disabling all 3rd party applications and its still happened to him.
GazzaGarratt Posted October 26, 2022 Author Posted October 26, 2022 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.
Marc Posted October 26, 2022 Posted October 26, 2022 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.
GazzaGarratt Posted October 26, 2022 Author Posted October 26, 2022 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 🙂
Jim M Posted October 26, 2022 Posted October 26, 2022 Could you please provide a user who is encountering this issue? We can then further investigate the full error log we're after.
GazzaGarratt Posted October 26, 2022 Author Posted October 26, 2022 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.
Marc Posted October 27, 2022 Posted October 27, 2022 I have created a ticket for you on this, and someone will be in contact GazzaGarratt 1
Recommended Posts