Description
i am getting "Warning require(/storage/ssd5/186/20965186/megaKit/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php)" this error when deploy my site on 000webhost,
i am already link this $app = require_once __DIR__.'/../megaKit/bootstrap/app.php';
$app->bind('path.public',function(){
return __DIR__;
});, on public_html/index file
View Code
Warning: require(/storage/ssd5/186/20965186/megaKit/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php): Failed to open stream: No such file or directory in /storage/ssd5/186/20965186/megaKit/vendor/composer/autoload_real.php on line 41
Fatal error: Uncaught Error: Failed opening required '/storage/ssd5/186/20965186/megaKit/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php' (include_path='.:/usr/share/pear:/usr/share/php:/usr/share/pear:/usr/share/php') in /storage/ssd5/186/20965186/megaKit/vendor/composer/autoload_real.php:41 Stack trace: #0 /storage/ssd5/186/20965186/megaKit/vendor/composer/autoload_real.php(45): {closure}() #1 /storage/ssd5/186/20965186/megaKit/vendor/autoload.php(25): ComposerAutoloaderInit2c500884c28336447716a228d98a8771::getLoader() #2 /storage/ssd5/186/20965186/public_html/index.php(34): require('...') #3 {main} thrown in /storage/ssd5/186/20965186/megaKit/vendor/composer/autoload_real.php on line 41
Mostly this error happen due to caching issue. Please clear your cache or directly go the app/bootstrap/cache dir and remove all files from there. Then it will work without any error.
Let me know in the comments, if still' not solved.
0 Likes 1 Comment
If the above answer worked for you, please mark this question as solved. It will help others to solve their problem. Thank you