cancel
Showing results for 
Search instead for 
Did you mean: 

Maximum function nesting level of '100' reached, aborting!

Maximum function nesting level of '100' reached, aborting!

public function findFile($class) { // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731 if ('\\' == $class[0]) { $class = substr($class, 1); } // class map lookup if (isset($this->classMap[$class])) { return $this->classMap[$class]; } if ($this->classMapAuthoritative) { return false; } $file = $this->findFileWithExtension($class, '.php'); // Search for Hack files if we are running on HHVM if ($file === null && defined('HHVM_VERSION')) { $file = $this->findFileWithExtension($class, '.hh'); } if ($file === null) { // Remember that this class does not exist. return $this->classMap[$class] = false; } return $file; } private function findFileWithExtension($class, $ext) { // PSR-4 lookup $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; $first = $class[0]; if (isset($this->prefixLengthsPsr4[$first])) { foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) { if (0 === strpos($class, $prefix)) { foreach ($this->prefixDirsPsr4[$prefix] as $dir) { if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { return $file; } } } } } // PSR-4 fallback dirs foreach ($this->fallbackDirsPsr4 as $dir) { if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { return $file; } } Buenas tardes, tengo instalado magento 2, pero al querer entrar en la página en localhost, me dá este error: Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\wamp\www\magento2.0\vendor\composer\ClassLoader.php on line 314 El código que he puesto arriba es la lína 314 de la ruta. Yo tengo la versión de PHP 5.5.12 Muchas gracias, Inma

2 REPLIES 2

Re: Maximum function nesting level of '100' reached, aborting!

Hi @Inma,

 

Increase the value of xdebug.max_nesting_level in your php.ini and then clear var cache and try.

-----
Darshan, Solution Consultant
Problem solved? Click Accept as Solution!

Re: Maximum function nesting level of '100' reached, aborting!

Hi @Inma,

 

Increase the value of xdebug.max_nesting_level in your php.ini and then clear var/cache and try.

-----
Darshan, Solution Consultant
Problem solved? Click Accept as Solution!