opened
ktomk
username_0
When executing Magerun 2 inside a Magento 1 project, it crashes with a fatal error:

	$n98-magerun2.phar --version
	PHP Warning:  require_once(www/app/bootstrap.php): failed to open
	stream: No such file or directory in
	phar:///home/memyselfandi/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 745

	Warning: require_once(www/app/bootstrap.php): failed to open stream: No
	such file or directory in
	phar:///home/memyselfandi/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 745
	PHP Fatal error:  require_once(): Failed opening required
	'www/app/bootstrap.php' (include_path='.:') in
	phar:///home/memyselfandi/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 745

	Fatal error: require_once(): Failed opening required
	'www/app/bootstrap.php' (include_path='.:') in
	phar:///home/memyselfandi/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 745

Instead of giving a non-saying fatal-error with some backtrace (on occasion), it would be better to give an error message or prevent the error at all if this fault is caused while detecting Magetno.
Fatal error when running Magerun 2 inside a Magento 1 tree
issue
closed
ktomk
username_0
issue
created
ktomk
username_0
We believe that the bug reported is fixed in the development version. It can be upgraded to it using the `self-update` command with the `--unstable` switch.
comment