• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Php Version error when installing bagisto

Installing Bagisto
3
19
3.5k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sanjay-webkul
    sanjay-webkul last edited by 31 Jan 2023, 11:45

    Hi there,
    Please try with php v8.1 and still you will get the same issue then please let me know.

    K 2 Replies Last reply 31 Jan 2023, 14:20 Reply Quote 0
    • K
      Kyaw Soe Aung @sanjay-webkul last edited by Kyaw Soe Aung 31 Jan 2023, 14:16 31 Jan 2023, 14:15

      @sanjay-webkul Screen Shot 2023-01-31 at 20.44.02.png
      change to php 8.1 but error not change
      Screen Shot 2023-01-31 at 20.45.10.png

      Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /Users/kyawsoeaung/code/bagisto/vendor/nunomaduro/termwind/src/Functions.php on line 17
      
      1 Reply Last reply Reply Quote 0
      • K
        Kyaw Soe Aung @sanjay-webkul last edited by 31 Jan 2023, 14:20

        @sanjay-webkul The same issue not get any solutin yet

        1 Reply Last reply Reply Quote 0
        • sanjay-webkul
          sanjay-webkul last edited by 2 Feb 2023, 07:27

          Hi there,
          Please follows the given steps for installing the Bagisto and make sure all the requirements for Bagisto should be meet on your system

          git 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
          K 1 Reply Last reply 2 Feb 2023, 17:04 Reply Quote 0
          • K
            Kyaw Soe Aung @sanjay-webkul last edited by 2 Feb 2023, 17:04

            @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
            
            K 1 Reply Last reply 2 Feb 2023, 17:08 Reply Quote 0
            • K
              Kyaw Soe Aung @Kyaw Soe Aung last edited by 2 Feb 2023, 17:08

              @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)
              
              1 Reply Last reply Reply Quote 0
              • sanjay-webkul
                sanjay-webkul last edited by 3 Feb 2023, 07:29

                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)
                1 Reply Last reply Reply Quote 0
                • sanjay-webkul
                  sanjay-webkul last edited by 3 Feb 2023, 07:30

                  Please create a support ticket Here. i need to check on your instance.

                  1 Reply Last reply Reply Quote 0
                  • 2 months later
                  • H
                    httpsdoug last edited by 20 Mar 2023, 20:41

                    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

                    1 Reply Last reply Reply Quote 0
                    • sanjay-webkul
                      sanjay-webkul last edited by 21 Mar 2023, 07:06

                      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

                      1 Reply Last reply Reply Quote 0
                      • sanjay-webkul
                        sanjay-webkul last edited by 21 Mar 2023, 07:06

                        And if still you are facing any issue then please let me know.

                        1 Reply Last reply Reply Quote 0
                        18 out of 19
                        • First post
                          18/19
                          Last post