You have misplaced ;
in your code, it should be
<?php if( empty( $username ) ) { array_push( $errors, "Username is required" ); } ?>
You have misplaced ;
in your code, it should be
<?php if( empty( $username ) ) { array_push( $errors, "Username is required" ); } ?>