Please. I get that same warning on authentic Apple purchased cables and I've had to replace two of them. They are not as durable as the old connector.
Check that lint hasn't collected inside the Lightning port preventing the connector from making a clean, reliable connection. Authentic cables should work reliably.