[21-Aug-2022 15:49:57 UTC] PHP Warning: require(/Users/dfcnt/dev/myproject/kirby/bootstrap.php): Failed to open stream: No such file or directory in /Users/dfcnt/dev/myproject/index.php on line 3
[21-Aug-2022 15:49:57 UTC] PHP Fatal error: Uncaught Error: Failed opening required ‘kirby/bootstrap.php’ (include_path=‘.:/Applications/MAMP/bin/php/php8.1.0/lib/php’) in /Users/dfcnt/dev/myproject/index.php:3
Stack trace: #0 {main}
thrown in /Users/dfcnt/dev/myproject/index.php on line 3
[21-Aug-2022 15:49:57 UTC] PHP Warning: require(/Users/dfcnt/dev/myproject/kirby/bootstrap.php): Failed to open stream: No such file or directory in /Users/dfcnt/dev/myproject/index.php on line 3
[21-Aug-2022 15:49:57 UTC] PHP Fatal error: Uncaught Error: Failed opening required ‘kirby/bootstrap.php’ (include_path=‘.:/Applications/MAMP/bin/php/php8.1.0/lib/php’) in /Users/dfcnt/dev/myproject/index.php:3
Stack trace: #0 {main}
thrown in /Users/dfcnt/dev/myproject/index.php on line 3
You’re right - I was searching for mistakes or something else so i tried to reset all to defaults as possible i’ve copied the index.php from the plainkit - So this is getting the error from the top posting.
Then → Copied the index.php from starterkit (Which includes the __DIR__ ) no php error now thrown.