• Resolved Elena Brescacin

    (@talksina)


    Hello, ActivityPub 1.0.0 shows me a fatal error message when I publish a comment on my own blog. But others do not see the error (even myself, publishing on my own web without logging in, gives no error).

    This is the error coming:

    Fatal error: Uncaught TypeError: Argument 1 passed to Activitypub\Transformer\Post::transform() must be an instance of WP_Post, string given, called in /home/customer/www/plusbrothers.net/public_html/wp-content/plugins/activitypub/includes/model/class-post.php on line 37 and defined in /home/customer/www/plusbrothers.net/public_html/wp-content/plugins/activitypub/includes/transformer/class-post.php:93 Stack trace: #0 /home/customer/www/plusbrothers.net/public_html/wp-content/plugins/activitypub/includes/model/class-post.php(37): Activitypub\Transformer\Post::transform(‘27281’) #1 /home/customer/www/plusbrothers.net/public_html/wp-content/plugins/friends/feed-parsers/activitypub/class-comment.php(107): Activitypub\Model\Post->__construct(‘27281’) #2 /home/customer/www/plusbrothers.net/public_html/wp-content/plugins/friends/feed-parsers/class-feed-parser-activitypub.php(1690): Activitypub\Model\Comment->__construct(555) #3 /home/customer/www/plusbrothers.net/public_html/wp-includes/class-wp-hook.php(310): Friends\Feed_Parse in /home/customer/www/plusbrothers.net/public_html/wp-content/plugins/activitypub/includes/transformer/class-post.php on line 93

    My hosting is SiteGround. I had also the webfinger not working -known issue- but resolved it by uploading a json file with author’s information, on the .well-known folder.

    Please help, because, the comments show up anyway but it’s annoying

    thanks

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error when publishing comments’ is closed to new replies.