Bagisto Forum

    Bagisto

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

    Getting PHP message: PHP Fatal error

    Installing Bagisto
    2
    14
    1985
    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,
      I guess you run the composer update command that's why this issue is occurring.

      1 Reply Last reply Reply Quote 0
      • T
        tariqajies last edited by

        How can i fix that issue , kindly share the way to fix asap

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

          Please take a reference from Here

          1 Reply Last reply Reply Quote 0
          • T
            tariqajies last edited by

            Got the below error now , kindly help

            2023/02/04 14:45:51 [error] 36227#36227: *513068 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function Symfony\Polyfill\Mbstring\iconv_substr() in /var/www/html/baber.com/vendor/symfony/polyfill-mbstring/Mbstring.php:636
            Stack trace:
            #0 /var/www/html/baber.com/vendor/symfony/polyfill-mbstring/bootstrap80.php(72): Symfony\Polyfill\Mbstring\Mbstring::mb_substr()
            #1 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1126): mb_substr()
            #2 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1196): Illuminate\Support\Str::substr()
            #3 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1111): Illuminate\Support\Str::ucfirst()
            #4 [internal function]: Illuminate\Support\Str::Illuminate\Support{closure}()
            #5 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1111): array_map()
            #6 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Manager.php(102): Illuminate\Support\Str::studly()
            #7 /var/www/html/baber...PHP message: PHP Fatal error: Uncaught Error: Call to undefined function Symfony\Polyfill\Mbstring\iconv_substr() in /var/www/html/baber.com/vendor/symfony/polyfill-mbstring/Mbstring.php:636
            Stack trace:
            #0 /var/www/html/baber.com/vendor/symfony/polyfill-mbstring/bootstrap80.php(72): Symfony\Polyfill\Mbstring\Mbstring::mb_substr()
            #1 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1126): mb_substr()
            #2 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1196): Illuminate\Support\Str::substr()
            #3 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1111): Illuminate\Support\Str::ucfirst()
            #4 [internal function]: Illuminate\Support\Str::Illuminate\Support{closure}()
            #5 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1111): array_map()
            #6 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Manager.php(102): I

            1 Reply Last reply Reply Quote 0
            • T
              tariqajies last edited by

              Kindly check above error and reply

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

                Hi there,
                Can you please let me know. in which step you are getting this error?

                1 Reply Last reply Reply Quote 0
                • T
                  tariqajies last edited by

                  HI i got the project from developer and placed that in server , then when i hit the url in browser server got 500 response , in the backened i got this error in nginx

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

                    Hi there,
                    Is it possible to share the screenshot of the error?

                    1 Reply Last reply Reply Quote 0
                    • T
                      tariqajies last edited by

                      @tariqajies said in Getting PHP message: PHP Fatal error:

                      2023/02/04 14:45:51 [error] 36227#36227: *513068 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function Symfony\Polyfill\Mbstring\iconv_substr() in /var/www/html/baber.com/vendor/symfony/polyfill-mbstring/Mbstring.php:636
                      Stack trace:
                      #0 /var/www/html/baber.com/vendor/symfony/polyfill-mbstring/bootstrap80.php(72): Symfony\Polyfill\Mbstring\Mbstring::mb_substr()
                      #1 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1126): mb_substr()
                      #2 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1196): Illuminate\Support\Str::substr()
                      #3 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1111): Illuminate\Support\Str::ucfirst()
                      #4 [internal function]: Illuminate\Support\Str::Illuminate\Support{closure}()
                      #5 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1111): array_map()
                      #6 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Manager.php(102): Illuminate\Support\Str::studly()
                      #7 /var/www/html/baber...PHP message: PHP Fatal error: Uncaught Error: Call to undefined function Symfony\Polyfill\Mbstring\iconv_substr() in /var/www/html/baber.com/vendor/symfony/polyfill-mbstring/Mbstring.php:636
                      Stack trace:
                      #0 /var/www/html/baber.com/vendor/symfony/polyfill-mbstring/bootstrap80.php(72): Symfony\Polyfill\Mbstring\Mbstring::mb_substr()
                      #1 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1126): mb_substr()
                      #2 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1196): Illuminate\Support\Str::substr()
                      #3 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1111): Illuminate\Support\Str::ucfirst()
                      #4 [internal function]: Illuminate\Support\Str::Illuminate\Support{closure}()
                      #5 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Str.php(1111): array_map()
                      #6 /var/www/html/baber.com/vendor/laravel/framework/src/Illuminate/Support/Manager.php(102): I

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

                        Hi there,
                        Is it possible to share the steps which you followed for installing the Bagisto? and which version of Bagisto are you using?

                        1 Reply Last reply Reply Quote 0
                        • T
                          tariqajies last edited by

                          basgistomysql.png

                          Now got this error database hosted in docker and

                          env

                          DB_CONNECTION=mysql
                          DB_HOST=db
                          DB_PORT=3307
                          DB_DATABASE=bagisto
                          DB_USERNAME=prod-user

                          kindly help ASAP , its getting late

                          1 Reply Last reply Reply Quote 0
                          • T
                            tariqajies last edited by

                            Kindly reply ASAP

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

                              Hi there,
                              I guess your database credentials are not configured properly in you .env file. please verify once and let me know.

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