I have an Anker 2 port USB charger that works fine for me but some chargers have "smart features" that can be problematic with certain cameras. With the Anker, it could be the "PowerIQ" and "Voltage Boost" features in the charger. In one case with one of my power banks that has a "smart port" I've needed to cut the data wires in a Monoprice cable to get it to work properly otherwise cameras think they are connected to a computer as a volume and will go into standby or mass storage mode instead of recording.
So, the message is that the after market cable might manifest the problem but the power supply may be the actual source of the issue.