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
````
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
````
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
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
````
Invalid json format but
ok
status code. I suppose that remote instance was having some issue, the code seems fine.Well, i have 2 or 3 of these per minute:
Should be solved with
0def5f1dca
.