error after message customization on activate.php
- 
		I have the most current WordPress and Buddypress install (we also have bbpress). I setup a sidebar for my buddypress pages which includes the buddypress ‘login’ plugin. When a user activates their registration the message reads: The original code is: <p><?php printf( __( ‘Your account was activated successfully! You can now log in with the username and password you provided when you signed up.’, ‘buddypress’ ), wp_login_url( bp_get_root_domain() ) ); ?></p> I changed it to: <p><?php printf( __( ‘Your account was activated successfully! You can now log in on the sidebar with the username and password you provided when you signed up.’, ‘buddypress’ ), wp_login_url( bp_get_root_domain() ) ); ?></p> I also tried: <p>Your account was activated successfully! You can now log in with the username and password you provided when you signed up.</p> This change is trigering this error: Parse error: syntax error, unexpected ‘else’ (T_ELSE) in /home/admin/public_html/wp-content/themes/Divi-Child/buddypress/members/activate.php on line 47 I am not a programmer. I don’t know how to fix this. Any help is appreciated. 
- You must be logged in to reply to this topic.