Reply To: [Resolved] Error in Invitation
@leonyipa please delete the following lines from BuddyDefault’s sidebar.phpfile
<?php if ( bp_is_active( 'messages' ) ) : ?>
<?php bp_message_get_notices(); /* Site wide notices to all users */ ?>
<?php endif; ?>
You can instead either add the Sitewide Notices widget in your sidebar or just allow the sitewide notice to appear in the header area like you have now. https://codex.buddypress.org/buddypress-components-and-features/buddypress-widgets/#buddypress-sitewide-notices