Here is the command:

```
execute at <player> run setblock ~ ~-1 ~ minecraft:oak_planks

```

I've also tried spawning it underneath the command block, but that does not work either.  

I did try using `/setblock` normally, and it does work, so I'm not really sure where I've gone wrong.

Version is 1.17.