# Unable to restore/update a 8.5.14 install to 9.2.7 (PHP7.4 to 8.3.3) - unserialization error while

**URL:** https://forums.concretecms.org/t/unable-to-restore-update-a-8-5-14-install-to-9-2-7-php7-4-to-8-3-3-unserialization-error-while/7109
**Category:** Installation
**Created:** [March 15, 2024, 6:12pm UTC](https://forums.concretecms.org/t/unable-to-restore-update-a-8-5-14-install-to-9-2-7-php7-4-to-8-3-3-unserialization-error-while/7109 "2024-03-15T18:12:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![timothevs](https://forums.concretecms.org/user_avatar/forums.concretecms.org/timothevs/32/3495_2.png) [@timothevs](https://forums.concretecms.org/u/timothevs)
#### Post date: [March 15, 2024, 6:12pm UTC](https://forums.concretecms.org/t/unable-to-restore-update-a-8-5-14-install-to-9-2-7-php7-4-to-8-3-3-unserialization-error-while/7109/1 "2024-03-15T18:12:02Z")

</div>

Hi all, I am trying to replicate a Production 8.5.15 install (running on Ubuntu with PHP 7.4) on a new Test Ubuntu VM with Concrete5 9.2.7 on PHP 8.3.3.

I moved the application, and packages folders, restored the SQL database - keeping the same charset/collation (utf8mb4 and utf8mb4\_unicode\_ci). I then ran

```auto
chmod a+x concrete/bin/concrete5
concrete/bin/concrete5 c5:database:charset:set utf8mb4
concrete/bin/concrete5 c5:update

```

It succeeds to a point where this error is thrown-

```auto
Updating database tables found in doctrine xml...
** Executing migration: 20170313000000
** Executing migration: 20170316000000
Refreshing schema for Concrete\Core\Entity\Express\Entity...

In ConversionException.php line 117:
                                                                                                           
  Could not convert database value to 'object' as an error was triggered by the unserialization: 'Creatio  
  n of dynamic property Concrete\Core\Search\Column\Column::$defaultSortDirection is deprecated'

```

I tried accessing the frontend - and the error is the same.

```auto
Could not convert database value to 'object' as an error was triggered by the unserialization: 'Creation of dynamic property Concrete\Core\Search\Column\Column::$defaultSortDirection is deprecated'

```

Is there a critical step I am missing? Can anyone shed some light on how I can fix this issue? TIA!

---

<div class="post-metadata">

### Author: ![timothevs](https://forums.concretecms.org/user_avatar/forums.concretecms.org/timothevs/32/3495_2.png) [@timothevs](https://forums.concretecms.org/u/timothevs)
#### Post date: [March 21, 2024, 2:43pm UTC](https://forums.concretecms.org/t/unable-to-restore-update-a-8-5-14-install-to-9-2-7-php7-4-to-8-3-3-unserialization-error-while/7109/2 "2024-03-21T14:43:42Z")

</div>

Good morning, I’m reaching out for further assistance on our PHP 8 upgrade process. Your expertise and guidance would be greatly valued.

I’ve successfully upgraded Concrete5 on a test site (PHP 7.4.33) through consecutive versions up to 9.1.3.

However, I am still encountering issues when attempting to restore it on PHP 8.3 or even PHP 8.2. The process fails each time.

Looking forward to your insights. Thank you.

---

<div class="post-metadata">

### Author: ![EvanCooper](https://forums.concretecms.org/user_avatar/forums.concretecms.org/evancooper/32/4597_2.png) [@EvanCooper](https://forums.concretecms.org/u/EvanCooper)
#### Post date: [April 1, 2024, 6:18am UTC](https://forums.concretecms.org/t/unable-to-restore-update-a-8-5-14-install-to-9-2-7-php7-4-to-8-3-3-unserialization-error-while/7109/3 "2024-04-01T06:18:01Z")

</div>

Hi @timothevs - I’m not sure if this would be problematic but would setting the environment to PHP 8.2 help? Just looking at system requirements here: [System Requirements for Concrete CMS](https://documentation.concretecms.org/developers/introduction/system-requirements)

Or like you mentioned, just sticking with PHP 7.4.33 until you get it all the way upgraded to 9.2.7 and then switching the environment over to PHP 8.3?
