# New error after UpgradeMODX run

**URL:** <https://community.modx.com/t/new-error-after-upgrademodx-run/6876>\
**Category:** Support\
**Tags:** manager\
**Created:** [July 15, 2023, 12:23pm UTC](https://community.modx.com/t/new-error-after-upgrademodx-run/6876 "2023-07-15T12:23:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hgw7m](https://community.modx.com/letter_avatar_proxy/v4/letter/h/a88e4f/32.png) [@hgw7m](https://community.modx.com/u/hgw7m)\
**Post date:** [July 15, 2023, 12:23pm UTC](https://community.modx.com/t/new-error-after-upgrademodx-run/6876/1 "2023-07-15T12:23:58Z")

</div>

On a site I just wanted to upgrade (to 2.8.5) with UpgradeMODX Extra I’m getting this message when I try load the manager page:

**Parse error** : syntax error, unexpected ‘:’, expecting ‘{’ in **…/core/components/upgrademodx/vendor/symfony/deprecation-contracts/function.php** on line **23**

Can I do something to bypass loading the UpgradeMODX Extra? Or other recommendations?

The site fronted fortunately is running okay. Thanks!

Günter

---

<div class="post-metadata">

**Author:** ![halftrainedharry](https://community.modx.com/user_avatar/community.modx.com/halftrainedharry/32/1063_2.png) [@halftrainedharry](https://community.modx.com/u/halftrainedharry)\
**Post date:** [July 15, 2023, 12:30pm UTC](https://community.modx.com/t/new-error-after-upgrademodx-run/6876/2 "2023-07-15T12:30:58Z")

</div>

If the problem is the UpgradeMODX widget on the start page of the manager, then maybe you can go directly to the “Dashboards” page of the manager (URL = `.../manager/?a=system/dashboards/`) and remove the widget from the dashboard.

---

<div class="post-metadata">

**Author:** ![hgw7m](https://community.modx.com/letter_avatar_proxy/v4/letter/h/a88e4f/32.png) [@hgw7m](https://community.modx.com/u/hgw7m)\
**Post date:** [July 15, 2023, 12:40pm UTC](https://community.modx.com/t/new-error-after-upgrademodx-run/6876/3 "2023-07-15T12:40:59Z")

</div>

> [@halftrainedharry](#):
>
> /manager/?a=system/dashboards/

Great! This helped to get in and remove the widget from the dashboard. Thanks a lot!

---

<div class="post-metadata">

**Author:** ![halftrainedharry](https://community.modx.com/user_avatar/community.modx.com/halftrainedharry/32/1063_2.png) [@halftrainedharry](https://community.modx.com/u/halftrainedharry)\
**Post date:** [July 15, 2023, 12:52pm UTC](https://community.modx.com/t/new-error-after-upgrademodx-run/6876/4 "2023-07-15T12:52:50Z")

</div>

Do you use a very old version of PHP?  
Maybe you should update that.

---

<div class="post-metadata">

**Author:** ![hgw7m](https://community.modx.com/letter_avatar_proxy/v4/letter/h/a88e4f/32.png) [@hgw7m](https://community.modx.com/u/hgw7m)\
**Post date:** [July 15, 2023, 12:57pm UTC](https://community.modx.com/t/new-error-after-upgrademodx-run/6876/5 "2023-07-15T12:57:19Z")

</div>

One more question. This is a MODX 2.6.5 Site to be updated to 2.85 - it still is running on PHP Version 5.6.40 (older client, she just came back to me …). Which version of UpgradeMODX may work here? Thanks again. And yes, PHP version should be changed to 7.4 for the moment, I assume.

---

<div class="post-metadata">

**Author:** ![halftrainedharry](https://community.modx.com/user_avatar/community.modx.com/halftrainedharry/32/1063_2.png) [@halftrainedharry](https://community.modx.com/u/halftrainedharry)\
**Post date:** [July 15, 2023, 1:14pm UTC](https://community.modx.com/t/new-error-after-upgrademodx-run/6876/6 "2023-07-15T13:14:01Z")

</div>

> [@hgw7m](#):
>
> Which version of UpgradeMODX may work here?

The cause of the error you posted above is the PHP version.  
The current version of _UpgradeMODX_ likely still works on MODX 2.6.5, if the PHP version is changed.

If MODX 2.6.5 itself doesn’t run with PHP 7.4, then you may have to upgrade manually.

[https://docs.modx.com/current/en/getting-started/maintenance/upgrading](https://docs.modx.com/current/en/getting-started/maintenance/upgrading)

---

<div class="post-metadata">

**Author:** ![system](https://community.modx.com/user_avatar/community.modx.com/system/32/2_2.png) [@system](https://community.modx.com/u/system)\
**Post date:** [July 17, 2023, 1:14pm UTC](https://community.modx.com/t/new-error-after-upgrademodx-run/6876/7 "2023-07-17T13:14:44Z")

</div>

Closed on July 17, 2023, 1:14pm UTC

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.
