---
title: 'Grav v1.8.0-beta.25 throws error'
url: 'https://getgrav.org/forum/support/grav-v1-8-0-beta-25-throws-error-t9053'
markdown: 'https://getgrav.org/forum/support/grav-v1-8-0-beta-25-throws-error-t9053.md'
date: '2026-06-21'
description: 'This update appeared today but clicking Start Safe Upgrade give the error Safe upgrade failed syntax error, unexpected ‘protected’ (T_PROTECTED), expecting'
---

[Support](https://getgrav.org/forum/support)

#   Grav v1.8.0-beta.25 throws error 

 Solved by pamtbaau [View solution](https://getgrav.org/forum/support/grav-v1-8-0-beta-25-throws-error-t9053#post-41047)

  Started by Simon 12 months ago · 2 replies · 364 views    

 [12 months ago](https://getgrav.org/forum/support/grav-v1-8-0-beta-25-throws-error-t9053#post-41046 "Permalink") 

This update appeared today but clicking Start Safe Upgrade give the error

Safe upgrade failed
syntax error, unexpected ‘protected’ (T\_PROTECTED), expecting variable (T\_VARIABLE)

All plugins are already updated.

What do I need to do?

 [12 months ago](https://getgrav.org/forum/support/grav-v1-8-0-beta-25-throws-error-t9053#post-41047 "Permalink")  Solution 

@SimonJ,

> What do I need to do?

Notify Andy via an issue on [Github](https://github.com/getgrav/grav/issues), or via Discord...

 [12 months ago](https://getgrav.org/forum/support/grav-v1-8-0-beta-25-throws-error-t9053#post-41048 "Permalink") 

See closed issue <https://github.com/getgrav/grav/issues/3989>

[Log in](https://getgrav.org/login?return=%2Fforum%2Fsupport%2Fgrav-v1-8-0-beta-25-throws-error-t9053) to reply.

###  Suggested topics

 | Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| [retina images are shown in Admin (but not all of them)](https://getgrav.org/forum/support/retina-images-are-shown-in-admin-but-not-all-of-them-t9504)    [Support](https://getgrav.org/forum/support) · by Anna, 23 hours ago |  | 1 | 32 | [21 hours ago](https://getgrav.org/forum/support/retina-images-are-shown-in-admin-but-not-all-of-them-t9504 "by Anna") |
| [page.date != page.header.date, now my collection sorting is broken (bug? by design?)](https://getgrav.org/forum/support/page-date-page-header-date-now-my-collection-sorting-is-broken-bug-by-design-t9484)    [Support](https://getgrav.org/forum/support) · by Anna, 2 weeks ago |  | 1 | 231 | [2 weeks ago](https://getgrav.org/forum/support/page-date-page-header-date-now-my-collection-sorting-is-broken-bug-by-design-t9484 "by Anna") |
| [it's no possible sign in with email......](https://getgrav.org/forum/support/it-s-no-possible-sign-in-with-email-t9462)    [Support](https://getgrav.org/forum/support) · by webmasterodp, 1 month ago |  | 4 | 362 | [1 month ago](https://getgrav.org/forum/support/it-s-no-possible-sign-in-with-email-t9462 "by webmasterodp") |
| [Site stopped working overnight - 'not writeable' error](https://getgrav.org/forum/support/site-stopped-working-overnight-not-writeable-error-t9445)    [Support](https://getgrav.org/forum/support) · by nwhitfield, 1 month ago |  | 2 | 335 | [1 month ago](https://getgrav.org/forum/support/site-stopped-working-overnight-not-writeable-error-t9445 "by pamtbaau") |
| [MIgrating to 2.0](https://getgrav.org/forum/support/migrating-to-2-0-t9437)    [Support](https://getgrav.org/forum/support) · by stell, 1 month ago |  | 5 | 625 | [1 month ago](https://getgrav.org/forum/support/migrating-to-2-0-t9437 "by stell") |
