I purchased this off Amazon a year ago, and it's still going. If it lasts another year, I am happy. They are cheap. It lights a little art gallery and I built it so I can easily replace the electronics if needed. I would think the batteries will fail first.
Not endorsing this specific item, really. But you can just buy a few of the same so you have spare parts later. I think if you spend twice the amount for high quality you still will have a few repairs upcoming. In a way you slap and pray and call it working.
Outdoor Solar LED Strip Lights,2022 Upgrade Cuttable Rope Lights -8 Modes 180 LED,Solar Powered Flexible Waterproof String Lights Warm White- Garden/Home/Patio/Courtyard
https://www.amazon.com/dp/B07T9MJRW3/ref=cm_sw_r_apan_i_24N5H7Z2JZAPANVR2Y4N?_encoding=UTF8&psc=1