Getting PHP message: PHP Fatal error
-
How can i fix that issue , kindly share the way to fix asap
-
Please take a reference from Here
-
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 -
Kindly check above error and reply
-
Hi there,
Can you please let me know. in which step you are getting this error? -
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
-
Hi there,
Is it possible to share the screenshot of the error? -
@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 -
Hi there,
Is it possible to share the steps which you followed for installing the Bagisto? and which version of Bagisto are you using? -
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-userkindly help ASAP , its getting late
-
Kindly reply ASAP
-
Hi there,
I guess your database credentials are not configured properly in you .env file. please verify once and let me know.