I think you don't have internet connection. It happened to me before when I didn't have internet connection.
Geometry Dash World: Daily Reward Bug

Not saying that it shouldn't be asked, but if I were you, I would have asked at a GD forums site, at least at there I'm sure to get help from people who do play the game.

Off the device that you are playing GD on, wait for a few seconds, like 11 seconds. Then go back to GD.
The chest might be coloured now.

also why do i barely have any lava shards?
I have 7-9 lava shards. My unlucky shard is ice...
I tried to open the daily chest, but it was still dotted outlined. Noting happened.
Any idea on how to fix this bug?