Php Version error when installing bagisto
-
Bagisto Version
-
Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /Users/kyawsoeaung/code/bagisto/vendor/nunomaduro/termwind/src/Functions.php on line 17
this error occur when php version is 8.2, please help
-
@sanjay-webkul
Composer Version -
Hi there,
Please try with php v8.1 and still you will get the same issue then please let me know. -
@sanjay-webkul
change to php 8.1 but error not change
Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /Users/kyawsoeaung/code/bagisto/vendor/nunomaduro/termwind/src/Functions.php on line 17
-
@sanjay-webkul The same issue not get any solutin yet
-
Hi there,
Please follows the given steps for installing the Bagisto and make sure all the requirements for Bagisto should be meet on your systemgit clone -b v1.4.5 https://github.com/bagisto/bagisto.git cd bagisto composer create edit your .env file configure database,email credentials and set the APP_URL php artisan bagisto:install
-
@sanjay-webkul I followed step by step as above but the error still occurs
Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /Users/kyawsoeaung/code/bagisto/vendor/nunomaduro/termwind/src/Functions.php on line 17
-
@Kyaw-Soe-Aung this error also
Illegal offset type in isset or empty (View: /Users/kyawsoeaung/code/bagisto/resources/themes/velocity/views/home/index.blade.php)
-
I guess you run composer update command that's why this error is occurring.
Illegal offset type in isset or empty (View: /Users/kyawsoeaung/code/bagisto/resources/themes/velocity/views/home/index.blade.php)
-
Please create a support ticket Here. i need to check on your instance.
-
Follow these steps:
mkdir bagisto
cd bagisto
composer create-project bagisto/bagisto=1.4.5
In March 2023 with PHP 8.1 it will be enough for your installation to work
-
Hi there,
please follows the given steps for installing the Bagisto.1. git clone -b v1.4.5 https://github.com/bagisto/bagisto.git
2. cd bagisto
3. composer create
4. nano .env [configure app_url, email and database credentials]
5. php artisan bagisto:install -
And if still you are facing any issue then please let me know.