I got error in friend page

[ad_1]

Hi, sorry for the trouble! I can reach that page fine, I suppose you are talking about that page when you are logged in?

Could you share some details about how your site is set up? Do the WordPress files reside in the /blog/ folder or have you configured WordPress with a Home URL like that?

Thread Starter
staipa

(@staipa)

Yes the problem is When I’m logged in.
WordPress is installed in /blog directory

  • This reply was modified 5 hours, 33 minutes ago by staipa.

Did you already add someone as a friend or subscribed to someone? I found a bug with the Friends page that happens if there are no posts from friends yet.

  • This reply was modified 4 hours, 17 minutes ago by Alex Kirk.

Thread Starter
staipa

(@staipa)

Yes, I added me as mastodon user as friend

Ok but probably there are no posts yet (also because of another bug, could you go to that user and deactivate the feed, save and re-activate it and save?). Maybe you could subscribe to some other RSS feed just to get started?

Thread Starter
staipa

(@staipa)

How can I do? I can’t find the option

Oh, you’d just go to wp-admin, then on the left Friends → Add New Friend and enter a URL like

Thread Starter
staipa

(@staipa)

Done, it not works, and if the friend post something it not receiped from The plugin

So, just to confirm, in your Friends → Friends & Requests you see two users, your own on Mastodon and projectdmc.org-news? If you click Edit on the projectdmc.org-news one, in the section “Posts”, does it say “0 posts”?

Thread Starter
staipa

(@staipa)

You can see it here https://ibb.co/nDgrDCt

Thanks for sharing the screenshot, this is helpful! Can you check the Subscriptions section? And also click “Modifica” to view the Edit Friend page.

Thread Starter
staipa

(@staipa)

I think it’s because there are no posts yet (it causes a 404 for /friends/). This is why I suggested to add some other feed that uses RSS because for it you can click the “Explicitly Refresh” (it’s not possible for Mastodon).

If you added then the URL should work. Does it show news entries?

Thread Starter
staipa

(@staipa)

It works. Thhen there is two prpblems
1. The bug that you had find about empty List
2. Another problem that prevent to show posts from mastodon

Great! Thank you for helping me debug this!

re 1, I’ve logged this here: https://github.com/akirk/friends/issues/135

re 2, Mastodon is “push” (see this super old issue https://github.com/mastodon/mastodon/issues/34), so you can only get new entries as they arrive.

A workaround that works and I am considering is to temporarily subscribe the RSS feed just for the backfill. You can do this manually by adding https://mastodon.uno/@staipa.rss as another feed with the SimplePie parser.

I’m tracking this approach in https://github.com/akirk/friends/issues/136

 

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