12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- ---
- title: ServerErrorAction: 500 - explorer.php on line 59
- author: notabug.org/aab
- time: Wed, 08 Jul 2020 10:41:06 UTC
- status: closed
- ---
- author: notabug.org
- time: Wed, 08 Jul 2020 10:41:06 UTC
- content: -----
- This keeps appearing in logs despite https://notabug.org/diogo/gnu-social/commit/3a2ec3ef9c2e71823ea77966e85ead06eeb26189 ```` LOG_ERR: [gnusocial.net:18670.c490b4fb POST /inbox.json] ServerErrorAction: 500 Argument 1 passed to Activitypub_explorer::lookup() must be of the type string, array given, called in /var/www/gnusocial/plugins/ActivityPub/lib/explorer.php on line 59````
- -----
- author: notabug.org
- time: Tue, 21 Jul 2020 11:26:52 UTC
- content: -----
- https://notabug.org/diogo/gnu-social/commit/871f3c4bfe2199ef6029648f9eb12c1892772cab will make it possible to find what is triggering that.
- -----
- author: notabug.org
- time: Tue, 21 Jul 2020 12:15:09 UTC
- content: -----
- Well... lots of these now, and UI almost gone: ```` 2020-07-21 12:13:34 LOG_ERR: [khp.ignorelist.com:9072.8fae162e POST /inbox.json] Handled serverError (500) but cannot output into desired format (NULL): 'Argument 1 passed to UserFlagPlugin::onUserRightsCheck() must be an instance of User, instance of Profile given, called in /var/www/html/lib/util/event.php on line 89' 2020-07-21 12:13:34 LOG_ERR: [khp.ignorelist.com:9072.8fae162e POST /inbox.json] ServerErrorAction: 500 Argument 1 passed to UserFlagPlugin::onUserRightsCheck() must be an instance of User, instance of Profile given, called in /var/www/html/lib/util/event.php on line 89 ````
- -----
- author: notabug.org
- time: Tue, 21 Jul 2020 12:27:02 UTC
- content: -----
- That's due to https://notabug.org/diogo/gnu-social/issues/171 as well :') Let me try to make that plugin work...
- -----
- author: notabug.org
- time: Tue, 21 Jul 2020 12:33:39 UTC
- content: -----
- Ok, i've disabled it on khp, and UI is working again. On gs.net is really useful, i'll wait to upgrade. Even disabling it, i'm getting this: ```` PHP Fatal error: Uncaught TypeError: Argument 1 passed to UserFlagPlugin::onUserRightsCheck() must be an instance of User, instance of Profile given, called in /var/www/html/lib/util/event.php on line 89 and defined in /var/www/html/plugins/UserFlag/UserFlagPlugin.php:163 Stack trace: #0 /var/www/html/lib/util/event.php(89): UserFlagPlugin->onUserRightsCheck(Object(Profile), 'publicnotice', false) #1 /var/www/html/classes/Profile.php(1333): Event::handle('UserRightsCheck', Array) #2 /var/www/html/plugins/OStatus/OStatusPlugin.php(142): Profile->hasRight('publicnotice') #3 /var/www/html/lib/util/event.php(89): OStatusPlugin->onStartEnqueueNotice(Object(Notice), Array) #4 /var/www/html/lib/util/util.php(1703): Event::handle('StartEnqueueNot...', Array) #5 /var/www/html/lib/notices/distribqueuehandler.php(100): common_enqueue_notice(Object(Notice)) #6 /var/www/html/plugins/RedisQueue/classes/RedisQueueManager.php(58): DistribQueueHandler->handle(Object(Notice)) #7 /var/www/html/lib/util/iomaster.php(286): RedisQueueManager->poll in /var/www/html/plugins/UserFlag/UserFlagPlugin.php on line 163 ````
- -----
- author: notabug.org
- time: Tue, 21 Jul 2020 12:38:43 UTC
- content: -----
- try now xb
- -----
- author: notabug.org
- time: Tue, 21 Jul 2020 12:49:09 UTC
- content: -----
- It has stopped :) I'll check later if it appears again
- -----
- author: notabug.org
- time: Tue, 21 Jul 2020 15:45:20 UTC
- content: -----
- 3 hours and not a single match, i think this one is done! :)
- -----
|