Open spiceup-it opened 6 years ago
C:\laragon\www\Lb\vendor\laravel\framework\src\Illuminate\View\Compilers\Concerns\CompilesLoops.php *
@return string */ protected function compileFor($expression) { return "<?php for{$expression}: ?>"; }
/**
@return string / protected function compileForeach($expression) { preg_match('/( (.) +as (.*))$/is', $expression, $matches);
$iteratee = trim($matches[1]); $iteration = trim($matches[2]); $initLoop = "\$__currentLoopData = {$iteratee}; \$__env->addLoop(\$__currentLoopData);"; $iterateLoop = '$__env->incrementLoopIndices(); $loop = $__env->getLastLoop();'; return "<?php {$initLoop} foreach(\$__currentLoopData as {$iteration}): {$iterateLoop} ?>";
}
what was the url/route you visited when this error happened?
C:\laragon\www\Lb\vendor\laravel\framework\src\Illuminate\View\Compilers\Concerns\CompilesLoops.php *
@return string */ protected function compileFor($expression) { return "<?php for{$expression}: ?>"; }
/**
@return string / protected function compileForeach($expression) { preg_match('/( (.) +as (.*))$/is', $expression, $matches);
}
/**