Title: get_option function return false.
Last modified: June 25, 2020

---

# get_option function return false.

 *  [Padam Shankhadev](https://wordpress.org/support/users/shankhadev123/)
 * (@shankhadev123)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/get_option-function-return-false/)
 * I have configured the theme with the option locally and works perfectly. But 
   when I migrate that developed website into live server. The theme options value
   doesn’t work its return false while debugging the value. But still, the value
   in the database options table.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Aims Infosoft](https://wordpress.org/support/users/aimsinfosofts/)
 * (@aimsinfosofts)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/get_option-function-return-false/#post-13032888)
 * Hello,
 * please confirm, you will change the site url or not and after migration to live
   server please check permalink settings.
 * Thanks
 *  Thread Starter [Padam Shankhadev](https://wordpress.org/support/users/shankhadev123/)
 * (@shankhadev123)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/get_option-function-return-false/#post-13032977)
 * I have done everything. There is value in the options table also but it returns
   false.
 *  [Aims Infosoft](https://wordpress.org/support/users/aimsinfosofts/)
 * (@aimsinfosofts)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/get_option-function-return-false/#post-13033292)
 * May be it will cache issue,please clear the cache and check.
 *  Thread Starter [Padam Shankhadev](https://wordpress.org/support/users/shankhadev123/)
 * (@shankhadev123)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/get_option-function-return-false/#post-13033365)
 * I have already clear the cache. It’s due to json mismatch in option value. But
   no idea how to fix these issue.
 *  [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/get_option-function-return-false/#post-13034874)
 * WordPress doesn’t usually store data in JSON but it does Serialize the data which
   does look an awful lot of like JSON. I’ve written a [similar explanation on WordPress Stack Exchange](https://wordpress.stackexchange.com/a/169036/7355).
 * How did you do your site migration / How did you replace the urls? If the serialized
   URLs were improperly replaced and the serialized string length counts were not
   updated properly then these will have to be fixed manually or you’ll have to 
   go back to the original database and properly replace the serialized data using
   a specialized replacement plugin ( such as WPCLI or [Interconnect/it](https://interconnectit.com/products/search-and-replace-for-wordpress-databases/)).
 * What is the JSON mismatch you’re referring to?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘get_option function return false.’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 5 replies
 * 3 participants
 * Last reply from: [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/get_option-function-return-false/#post-13034874)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
