- 
                Notifications
    
You must be signed in to change notification settings  - Fork 83
 
Labels
Description
Quick summary
Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /var/www/html/wp-content/plugins/wordpress-activitypub/includes/functions.php:557
Stack trace: 
#0 /var/www/html/wp-content/plugins/wordpress-activitypub/includes/functions.php(538): Activitypub\extract_recipients_from_activity_property('bto', Array) 
#1 /var/www/html/wp-content/plugins/wordpress-activitypub/includes/functions.php(608): Activitypub\extract_recipients_from_activity(Array) 
#2 /var/www/html/wp-content/plugins/wordpress-activitypub/includes/wp-admin/import/class-mastodon.php(287): Activitypub\is_activity_public(Array) 
#3 /var/www/html/wp-content/plugins/wordpress-activitypub/includes/wp-admin/import/class-mastodon.php(247): Activitypub\WP_Admin\Import\Mastodon::import_posts() 
#4 /var/www/html/wp-content/plugins/wordpress-activitypub/includes/wp-admin/import/class-mastodon.php(82): Activitypub\WP_Admin\Import\Mastodon::import() 
#5 /var/www/html/wp-admin/admin.php(365): Activitypub\WP_Admin\Import\Mastodon::dispatch() 
#6 {main} thrown in /var/www/html/wp-content/plugins/wordpress-activitypub/includes/functions.php on line 557
See https://wordpress.org/support/topic/import-mastodon-beta/page/2/#post-18701387
Steps to reproduce
Try to import a mastodon zip file.
Site owner impact
More than 60% of the total website/platform users
Severity
Minor
What other impact(s) does this issue have?
No response
If a workaround is available, please outline it here.
No response