Bagisto Forum

    Bagisto

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

    Php Version error when installing bagisto

    Installing Bagisto
    3
    19
    1479
    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

      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 Reply Quote 0
      • K
        Kyaw Soe Aung @sanjay-webkul last edited by Kyaw Soe Aung

        @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

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

          1 Reply Last reply Reply Quote 0
          • sanjay-webkul
            sanjay-webkul last edited by

            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 Reply Quote 0
            • K
              Kyaw Soe Aung @sanjay-webkul last edited by

              @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 Reply Quote 0
              • K
                Kyaw Soe Aung @Kyaw Soe Aung last edited by

                @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

                  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

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

                    1 Reply Last reply Reply Quote 0
                    • H
                      httpsdoug last edited by

                      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

                        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

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

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post