This keeps appearing in logs despite 3a2ec3ef9c
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
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````
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
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
````
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
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
````
This keeps appearing in logs despite
3a2ec3ef9c
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
871f3c4bfe
will make it possible to find what is triggering that.Well... lots of these now, and UI almost gone:
That's due to #171 as well :')
Let me try to make that plugin work...
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:
try now xb
It has stopped :) I'll check later if it appears again
3 hours and not a single match, i think this one is done! :)