Erratum to: High-derivatives and massive electromagnetic models in the Lemaître–Tolman–Bondi spacetime Rafael L. Fernandes, Everton M. C. Abreu and Marcelo B. Ribeiro Eur. Phys. J. C, 80 6 (2020) 538 Published online: 15 June 2020 DOI: 10.1140/epjc/s10052-020-7910-1