%BGP-6-MSGDUMP_LIMIT: unsupported or mal-formatted message received from | %BGP-6-MALFORMEDATTR: Malformed optional transitive attribute in (BGP(0)

Simple:

conf t
 router bgp 1234
 no bgp enforce-first-as

message gone.