Skip to:
Content
Pages
Categories
Search
Top
Bottom

Uncaught ArgumentCountError bp-blogs-activity.php:233


  • webmasterfreya
    Participant

    @webmasterfreya

    Buddypress 11.0.0
    Wordpress .1.1
    PHP 8.1.14

    /wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php. Foutmelding: Uncaught ArgumentCountError: 3 arguments are required, 2 given in /var/www/vhosts/freya.nl/httpdocs/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php:233
    Stack trace:
    #0 /var/www/vhosts/freya.nl/httpdocs/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php(233): sprintf()
    #1 /var/www/vhosts/freya.nl/httpdocs/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php(2312): bp_blogs_format_activity_action_new_blog_post()
    #2 /var/www/vhosts/freya.nl/httpdocs/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php(4180): bp_activity_post_type_publish()
    #3 /var/www/vhosts/freya.nl/httpdocs/wp-includes/class-wp-hook.php(308): bp_activity_catch_transition_post_type_status()
    #4 /var/www/vhosts/freya.nl/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #5 /var/www/vhosts/freya.nl/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #6 /var/www/vhosts/freya.nl/httpdocs/wp-includes/post.php(5347): do_action()
    #7 /var/www/vhosts/freya.nl/httpdocs/wp-includes/post.php(4607): wp_transition_post_status()
    #8 /var/www/vhosts/freya.nl/httpdocs/wp-includes/post.php(4819): wp_insert_post()
    #9 /var/www/vhosts/freya.nl/httpdocs/wp-admin/includes/post.php(426): wp_update_post()
    #10 /var/www/vhosts/freya.nl/httpdocs/wp-admin/post.php(227): edit_post()

Viewing 1 replies (of 1 total)

  • webmasterfreya
    Participant

    @webmasterfreya

    Solved!

    The Dutch translation file buddypress-nl_NL.po containes:

    %s wrote a new post -> %1$s heeft een nieuw bericht %2$s geschreven

    This should be altered to :

    %s wrote a new post -> %s heeft een nieuw bericht geschreven

    And compiled to buddypress-nl_NL.mo

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar