Basic NR24RFL01 and arduino" error message"

Your code has a remarkable resemblance to this in another current thread: Latching Button Code not Working over NRF24L01

Why not start with a complete example which is known to work?