WordPress reports friends caused critical error

[ad_1]

I installed Freinds plug-in to work with ActivityPub. I created two issues. First WP reported this critical error

Error Details
=============
An error of type E_ERROR was caused in line 1215 of the file /…tivitypub.php. Error message: Uncaught TypeError: Argument 1 passed to Friends\Feed_Parser_ActivityPub::modify_incoming_item() must be an instance of Friends\Feed_Item, instance of WP_Error given, called in //html/wp-includes/class-wp-hook.php on line 312 and defined in /…ypub.php:1215
Stack trace:
#0 /html/wp-includes/class-wp-hook.php(312): Friends\Feed_Parser_ActivityPub->modify_incoming_item()
#1 /html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /html/wp-content/plugins/friends/includes/class-feed.php(170): apply_filters()
#3 /html/wp-content/plugins/friends/includes/class-admin.php(2024): Friends\Feed->preview()
#4 /html/wp-includes/class-wp-hook.php(310): Friends\Admin->render_admin_add_frien

Next it seems to block another plug-in using open street map. Once I deactivated Friends that functionality returned.

New to the ActivityPub/Friends combo but not WP plugins

  • This topic was modified 4 hours, 6 minutes ago by Earl_D.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer