# PHP Parse error: syntax error, unexpected '$value' (T\_VARIABLE) in /vendor/aws/aws-sdk-php/src/functions.php on line 36

**URL:** <https://forum.mautic.org/t/php-parse-error-syntax-error-unexpected-value-t-variable-in-vendor-aws-aws-sdk-php-src-functions-php-on-line-36/13086>\
**Category:** Product Support\
**Created:** [February 26, 2020, 9:57am UTC](https://forum.mautic.org/t/php-parse-error-syntax-error-unexpected-value-t-variable-in-vendor-aws-aws-sdk-php-src-functions-php-on-line-36/13086 "2020-02-26T09:57:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abracadabra.photogra](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/abracadabra.photogra/32/505_2.png) [@abracadabra.photogra](https://forum.mautic.org/u/abracadabra.photogra)\
**Post date:** [February 26, 2020, 9:57am UTC](https://forum.mautic.org/t/php-parse-error-syntax-error-unexpected-value-t-variable-in-vendor-aws-aws-sdk-php-src-functions-php-on-line-36/13086/1 "2020-02-26T09:57:40Z")

</div>

Hi,  
I see there are other similar support questions unsolved, however I’m posting it anyway, to see if I get luck.

Dynamic Segments does not update, so I set up a cron job in my hosting (I use plesk panel).

But I get this error:

PHP Parse error: syntax error, unexpected ‘$value’ (T\_VARIABLE) in /vendor/aws/aws-sdk-php/src/functions.php on line 36

Anyone knows something about it?

---

<div class="post-metadata">

**Author:** ![abracadabra.photogra](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/abracadabra.photogra/32/505_2.png) [@abracadabra.photogra](https://forum.mautic.org/u/abracadabra.photogra)\
**Post date:** [February 27, 2020, 10:49am UTC](https://forum.mautic.org/t/php-parse-error-syntax-error-unexpected-value-t-variable-in-vendor-aws-aws-sdk-php-src-functions-php-on-line-36/13086/2 "2020-02-27T10:49:44Z")

</div>

Solved. I forced php version in this way  
xxxxxxx/xxxxxx/opt/plesk/php/7.3/bin/php /app/console mautic:segments:update

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [May 6, 2020, 7:21pm UTC](https://forum.mautic.org/t/php-parse-error-syntax-error-unexpected-value-t-variable-in-vendor-aws-aws-sdk-php-src-functions-php-on-line-36/13086/3 "2020-05-06T19:21:07Z")

</div>

This worked for me. Thank you!
