Forum Replies Created
-
FYI: I have suggested “%s heeft een nieuw bericht geschreven” as a new translation for “%s wrote a new post” at https://translate.wordpress.org/projects/wp-plugins/buddypress/stable/nl/default/
edit: I found the error.
It is indeed a translation error.
I found the translation of Buddypress in wp-content/languages.
With PoEdit I saw that “%s wrote a new post” was translated as “%1$s heeft een nieuw bericht %2$s geschreven”.
I changed the translation to “%s heeft een nieuw bericht geschreven”.
PoEdit generated a new mo-file which I uploaded to wp-content/language. Now the problem is solved (for me).Hai Mathieu,
I have no multisite and also did not keep old files, but I Think I found something: near line 233 of the bp-blogs/bp-blogs-activity.php file there is an note which says /* translators: 1: the activity user link. */.
This note triggered me to change the site language from Dutch to Engish, and the problem is solved! So in my opinion it has to do with the (Buddypress) translation to Dutch. I searched for the translation files in Buddypress, but couldn’t find anything ….Hello, since the new version I can not update posts anymore. I reverted it back to version 10.6.0 and everything is working fine. It would be nice if someone could help me out. Thank you!
WordPress version 6.1.1
BuddyPress (version 11.0.0)
PHP version 8.0.26Foutdetails
===========
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 233 van het bestand /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php. Foutmelding: Uncaught ArgumentCountError: 3 arguments are required, 2 given in /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php:233
Stack trace:
#0 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php(233): sprintf()
#1 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-includes/class-wp-hook.php(308): bp_blogs_format_activity_action_new_blog_post()
#2 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php(1633): apply_filters()
#4 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-activity.php(209): bp_activity_generate_action_string()
#5 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-activity.php(167): BP_Activity_Activity->populate()
#6 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php(2379): BP_Activity_Activity->__construct()
#7 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php(4176): bp_activity_post_type_update()
#8 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-includes/class-wp-hook.php(308): bp_activity_catch_transition_post_type_status()
#9 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#10 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-includes/post.php(5347): do_action()
#12 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-includes/post.php(4607): wp_transition_post_status()
#13 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-includes/post.php(4819): wp_insert_post()
#14 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-admin/includes/post.php(426): wp_update_post()
#15 /home/deb74155/domains/rugzaklopers.nl/public_html/wordpress/wp-admin/post.php(227): edit_post()
#16 {main}
thrown