Thanks to @chip_bennett to point it out!
I registered the settings using settings api and I was trying to add the settings on customize api by the type of theme_mod
that’s why it was showing the error. After changing the 'type' => 'theme_mod'
to 'type' => 'option'
, it worked 🙂