# Fatal error on get\_option after cloning site from MyKinsta

**URL:** <https://community.kinsta.com/t/fatal-error-on-get-option-after-cloning-site-from-mykinsta/2257>\
**Category:** Installation\
**Created:** [May 10, 2023, 10:22am UTC](https://community.kinsta.com/t/fatal-error-on-get-option-after-cloning-site-from-mykinsta/2257 "2023-05-10T10:22:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yedidel](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/yedidel/32/2084_2.png) [@yedidel](https://community.kinsta.com/u/yedidel)\
**Post date:** [May 10, 2023, 10:22am UTC](https://community.kinsta.com/t/fatal-error-on-get-option-after-cloning-site-from-mykinsta/2257/1 "2023-05-10T10:22:26Z")

</div>

Hello

I have installed DevKinsta and pulled the live site from MyKinsta (that is running there properly).  
When trying to load the site, I get the following error:

```auto

This error shows up when trying to access site on local:

( ! ) Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /www/kinsta/public/d/wp-content/themes/buddyboss-theme/inc/admin/options/get-option.php on line 83

```

After investigating, it looks like the PHP function **maybe\_unserialize** is returning false instead of the string.  
This is certainly not a plugin/theme issue since it runs perfect on production.

Looking at phpinfo on both prod and local, I saw some differences (not all php modules were enabled locally for example).  
How can I make DevKinsta match the exact setup so it will work locally?

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [May 10, 2023, 12:08pm UTC](https://community.kinsta.com/t/fatal-error-on-get-option-after-cloning-site-from-mykinsta/2257/2 "2023-05-10T12:08:22Z")

</div>

Hello @yedidel and welcome to DevKinsta Community!  
If you need to change the PHP version used by DevKinsta, or you need to adjust some PHP values in the php.ini file, you can do so by opening the site in DevKinsta and then clicking on the wrench icon.

 ![Screenshot 2023-05-10 at 13.00.37](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/6/68bb66097e871304d23545fbcce1df3d25521696.jpeg)

If you need to add some package or extension instead, you can do so via Docker by opening the devkinsta\_fpm terminal and running the required command to install the package you need. In my example below I am installing node:

 ![Screenshot_2023-05-10_at_13_06_16](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/6/6875864ea7075c65afdd3aabd12c4c5e5f1e300d.jpeg)

Regards,  
Alessandro

---

<div class="post-metadata">

**Author:** ![yedidel](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/yedidel/32/2084_2.png) [@yedidel](https://community.kinsta.com/u/yedidel)\
**Post date:** [May 10, 2023, 2:03pm UTC](https://community.kinsta.com/t/fatal-error-on-get-option-after-cloning-site-from-mykinsta/2257/3 "2023-05-10T14:03:36Z")

</div>

Thanks

Does it have to be done manually? there is no way to duplicate the exact setup from Kinsta server?

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [May 10, 2023, 4:01pm UTC](https://community.kinsta.com/t/fatal-error-on-get-option-after-cloning-site-from-mykinsta/2257/4 "2023-05-10T16:01:27Z")

</div>

I am afraid that yes, this will need to be done manually when needed. Perhaps you can run via SSH and terminal the command `php -m` so that you can have a list of the modules installed and compare between the online and local environment
