I have a section of dirt next to my driveway. All the other suggestions here worked for a few days max, but the solution ended up being laying chickenwire fencing on the ground. Cats won't do that on ground they can't dig.
And no plans are in place for the disposal of panels, batteries, etc after their 25 year useful life...
Meta's like, "Hey, That's our job!"