• Hi, had a published page to publicize the fedified status on both blogs, created some time ago. Since then, plugin updated to latest version 1.1.0

    When visiting the page, it’s now broken or not available due to a critical error on the blog.
    When trying to create a new post/page with the block, it says it “cannot be previewed” and draft can’t be saved.

    Indeed, the PHP error log shows multiple errors:

    [13-Nov-2023 23:02:18 UTC] PHP Fatal error: Uncaught TypeError: ltrim(): Argument #1 ($string) must be of type string, array given in /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/formatting.php:4494
    Stack trace:
    #0 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/formatting.php(4494): ltrim()
    #1 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-content/plugins/activitypub/includes/class-blocks.php(143): esc_url()
    #2 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-content/plugins/activitypub/includes/class-blocks.php(119): Activitypub\Blocks::render_follower()
    #3 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/class-wp-block.php(258): Activitypub\Blocks::render_follower_block()
    #4 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/blocks.php(1484): WP_Block->render()
    #5 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/blocks.php(1522): render_block()
    #6 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/class-wp-hook.php(324): do_blocks()
    #7 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #8 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php(620): apply_filters()
    #9 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php(451): WP_REST_Revisions_Controller->prepare_item_for_response()
    #10 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php(253): WP_REST_Autosaves_Controller->prepare_item_for_response()
    #11 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/rest-api/class-wp-rest-server.php(1193): WP_REST_Autosaves_Controller->create_item()
    #12 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request()
    #13 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/rest-api/class-wp-rest-server.php(431): WP_REST_Server->dispatch()
    #14 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/rest-api.php(424): WP_REST_Server->serve_request()
    #15 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/class-wp-hook.php(324): rest_api_loaded()
    #16 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #17 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/plugin.php(565): WP_Hook->do_action()
    #18 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/class-wp.php(418): do_action_ref_array()
    #19 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/class-wp.php(813): WP->parse_request()
    #20 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/functions.php(1336): WP->main()
    #21 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-blog-header.php(16): wp()
    #22 /srv/data/web/vhosts/www.didiermary.fr/htdocs/index.php(17): require('...')
    #23 {main} thrown in /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/formatting.php on line 4494

    Sincerely
    DJM

Viewing 1 replies (of 1 total)
  • Thread Starter cybeardjm

    (@didierjm)

    Hi,

    Situation’s worse with 1.2.0 = can’t edit anymore posts/pages that contain this block without crashing the page “There has been a critical error on this website.”

    Sincerely
    DJM

Viewing 1 replies (of 1 total)
  • The topic ‘Block “Fediverse Followers” crashes page/blog’ is closed to new replies.