Strange errors occurred when I optimized with Zygote and Optim

Please do not post essentially the same question multiple times. Cf