Question: Parse Error Syntax Error Unexpected T_Double_Arrow

Parse Error Syntax Error Unexpected T_Double_Arrow

Hi, I run the installation but getting following error, the installation script not loading: Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /app/Helpers/functions.php on li

JC

Jack Cham

Asked

Hi,

I run the installation but getting following error, the installation script not loading:

Parse error: syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW) in /app/Helpers/functions.php on line 118

URL: http://wims.databackup.com.my/public/install

My hosting use cPanel with PHP 7.4 and using sub-domain for installation.

Please assist

  • JC

    Jack Cham

    Answered

    I change to PHP 8 able to install. Seem like PHP 7.4 not support.

  • MS

    Mian Saleem

    Answered

    Hello,

    Yes, WIMS requires php8 as I have used match 😃

    Thank you

  • JC

    Jack Cham

    Answered

    Hi, I found some issues:

    1. I added “check-in” record and status not draft, but my item quantity didn’t update
    2. Under item, the rack location cannot fill-in and save

    Please assist.

    Thanks

  • MS

    Mian Saleem

    Answered

    Hello,

    I am not why. It should update the quantity on check in, if the item is tracking quantity and check in is not draft. Can I have install details with admin user details to have look? Is there any erros in storage/logs/ folder?

    I have found the issue with rack location and will fix in coming update.

    Thank you

  • P

    pomchai

    Answered

    why I use PHP8.1.2 show syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW) in /app/Helpers/functions.php on line 118.

  • MS

    Mian Saleem

    Answered

    pomchai Hello,

    Please double check your php version. There shouldn’t be such error on php8.

    Please ask new question, if you need further assistance.

    Thank you

  • Login to Reply