friends icon indicating copy to clipboard operation
friends copied to clipboard

ClassicPress Support

Open adastrame opened this issue 6 months ago • 2 comments

Hello,

I'm using ClassicPress, a fork of WordPress without the Gutenberg Editor. I prefer it 100% over WordPress as an old-school casual blogger because it's lean and easy to use.

The ActivityPub plugin for WordPress works great with ClassicPress, however I'm having issues with the Friends plugin. I get critical errors when I activate the plugin, and it's not possible for me to follow people on the fediverse.

Will the Friends plugin at any time consider adding compatibility for ClassicPress?

adastrame avatar Jun 19 '25 12:06 adastrame

Hi, I just tried it with ClassicPress and it activates fine and I can follow ActivityPub and RSS but there is a problem with the assumption that WP_HTML_Tag_Processor is available (added in WordPress 6.2) that destroys the Friends page. I have created a PR to fix this.

It would be super helpful to submit actual error messages from your error log, that's something actionable I can fix. I'm not planning to test every release on ClassicPress.

akirk avatar Jul 18 '25 13:07 akirk

Hi Alex, thank you for the response!

For your reference, this is the critical error that I get when I try to follow people:

An error of type E_ERROR was caused in line 820 of the file /classicpress/wp-content/plugins/friends/feed-parsers/class-feed-parser-activitypub.php. Error message: Uncaught Error: Call to undefined function Activitypub\user_can_activitypub() in /classicpress/wp-content/plugins/friends/feed-parsers/class-feed-parser-activitypub.php:820
Stack trace:
#0 /classicpress/wp-content/plugins/friends/feed-parsers/class-feed-parser-activitypub.php(816): Friends\Feed_Parser_ActivityPub->get_activitypub_actor_id(1)
#1 /classicpress/wp-content/plugins/friends/feed-parsers/class-feed-parser-activitypub.php(626): Friends\Feed_Parser_ActivityPub->get_activitypub_actor(1)
#2 /classicpress/wp-content/plugins/friends/includes/class-feed.php(976): Friends\Feed_Parser_ActivityPub->update_feed_details(Array)
#3 /classicpress/wp-content/plugins/friends/includes/class-admin.php(1970): Friends\Feed->discover_available_feeds('https://queer.p/...')
#4 /classicpress/wp-content/plugins/friends/includes/class-admin.php(2231): Friends\Admin->process_admin_add_friend(Array)
#5 /classicpress/wp-includes/class-wp-hook.php(308): Friends\Admin->render_admin_add_friend('')
#6 /classicpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
#7 /classicpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#8 /classicpress/wp-admin/admin.php(259): do_action('friends_page_ad...')
#9 {main}
  thrown

adastrame avatar Jul 21 '25 07:07 adastrame