Wood broken around screws
Click on the image to open
Both side pieces
Click on the image to open
Front view
Click on the image to open
Top view

So I got this cute shelf on big trash day, ugly paint but totally fixable. I disassembled it for stripping and repainting to realize the side wood is broken from the screws holding the top in place. The sides have hearts cut into it so I can't just replace it. What resin or epoxy will patch it and be strong enough to put screws in? Putty crumbled and I've read filler won't either.