Home › Forums › Bugs › In traits functions must have bodies Tagged: traits This topic has 0 replies, 1 voice, and was last updated 1 year, 3 months ago by jurgenmuca. Viewing 1 post (of 1 total) Author Posts January 14, 2025 at 7:42 am #1387 jurgenmucaParticipant Fatal error: Non-abstract method Database::read() must contain body in C:\xampp\htdocs\OOPtutorial\index.php on line 17 Unlike interfaces, traits must have their body declared, the difference between traits and classes is that a class can implement multiple traits. Author Posts Viewing 1 post (of 1 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In