• Hi,

    I think there is a bug in the last version of plugin. When i load the url with this parameter /?sum=1

    i has a critical error. Here the trace of my log : 2024/09/02 11:43:26 [error] 780#780: *603687 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ValueError: Unknown format specifier "S" in /var/aegir/platforms/wordpress-dev/sites/crm-dev.oudinot.symbiodev.xyz/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php:206

    in the line 206 i have a problem with sprint_f function. I resolved in my website with this correction

    // Might be nice here to link to anchor tags in the message.
    if ( 'dig' === $type ) {
    // translators: number of items.
    $summary .= apply_filters( 'ass_digest_summary', "<li class=\"digest-group-summary\" {$ass_email_css['summary']}><a href='{$group_permalink}'>$group_name</a> " . sprintf( __( '(%1$s items)', 'buddypress-group-email-subscription' ), count( $activity_ids ) ) . "</li>\n", $ass_email_css['summary'], $group_slug, $group_name, $activity_ids );
    }

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘bug with the new version of plugin’ is closed to new replies.