12345678910111213141516171819202122232425262728293031323334353637 |
- ---
- title: PHP Fatal error - explorer.php lines 292 and 344
- author: notabug.org/aab
- time: Wed, 22 Jul 2020 20:57:09 UTC
- status: closed
- ---
- author: notabug.org
- time: Wed, 22 Jul 2020 20:57:09 UTC
- content: -----
- ```` PHP Fatal error: Uncaught TypeError: Argument 1 passed to Activitypub_explorer::validate_remote_response() must be of the type array, null given, called in /var/www/gnusocial/plugins/ActivityPub/lib/explorer.php on line 344 and defined in /var/www/gnusocial/plugins/ActivityPub/lib/explorer.php:292 Stack trace: #0 /var/www/gnusocial/plugins/ActivityPub/lib/explorer.php(344): Activitypub_explorer::validate_remote_response(NULL) #1 /var/www/gnusocial/plugins/ActivityPub/classes/Activitypub_profile.php(282): Activitypub_explorer::get_actor_inboxes_uri('https://gnusoci...') #2 /var/www/gnusocial/plugins/ActivityPub/classes/Activitypub_profile.php(223): Activitypub_profile::create_from_local_profile(Object(Profile)) #3 /var/www/gnusocial/plugins/ActivityPub/classes/Activitypub_profile.php(256): Activitypub_profile::from_profile(Object(Profile)) #4 /var/www/gnusocial/plugins/ActivityPub/lib/activitypubqueuehandler.php(73): Activitypub_profile::from_profile_collection(Array) #5 /var/www/gnusocial/plugins/RedisQueue/classes/RedisQueue in /var/www/gnusocial/plugins/ActivityPub/lib/explorer.php on line 292 ````
- -----
- author: notabug.org
- time: Thu, 23 Jul 2020 07:56:55 UTC
- content: -----
- Invalid json format but `ok` status code. I suppose that remote instance was having some issue, the code seems fine.
- -----
- author: notabug.org
- time: Thu, 23 Jul 2020 12:51:35 UTC
- content: -----
- Well, i have 2 or 3 of these per minute: ```` 2020-07-23 12:48:55 LOG_DEBUG: [gnusocial.net:12761.73652218 POST /inbox.json] action.php - Server error '500' on 'apinbox': Argument 1 passed to Activitypub_explorer::validate_remote_response() must be of the type array, null given, called in /var/www/gnusocial/plugins/ActivityPub/lib/explorer.php on line 229 2020-07-23 12:48:55 LOG_ERR: [gnusocial.net:12761.73652218 POST /inbox.json] Handled serverError (500) but cannot output into desired format (NULL): 'Argument 1 passed to Activitypub_explorer::validate_remote_response() must be of the type array, null given, called in /var/www/gnusocial/plugins/ActivityPub/lib/explorer.php on line 229' 2020-07-23 12:48:55 LOG_ERR: [gnusocial.net:12761.73652218 POST /inbox.json] ServerErrorAction: 500 Argument 1 passed to Activitypub_explorer::validate_remote_response() must be of the type array, null given, called in /var/www/gnusocial/plugins/ActivityPub/lib/explorer.php on line 229 ````
- -----
- author: notabug.org
- time: Thu, 23 Jul 2020 14:27:07 UTC
- content: -----
- -----
- author: notabug.org
- time: Thu, 23 Jul 2020 14:55:58 UTC
- content: -----
- Should be solved with https://notabug.org/diogo/gnu-social/commit/0def5f1dca218ce95720241274ac8f7cccc3146e .
- -----
|