Error in neurons[[i]] %*% weights[[i]] : requires numeric/complex matrix/vector arguments

Dont panic.
If you want help in the specific details of your situation, you would best make some effort to provide sample data that represents what you are working with.

Look here for a simple guide on how to do that