ErrorException
ErrorException
Undefined variable $vod
GET www.dadatu6666.com
PHP 8.2.31 — Laravel 11.38.2
7 vendor frames collapsed
7 vendor frames collapsed
5 vendor frames collapsed
41 vendor frames collapsed
resources/views/default8/vod/hot2.blade.php
:1
@php
use App\Models\Vod;
$tempId = ($vod->type_id == 21 || $vod->type_id == 39) ? $vod->type_id : $vod->type->type_pid;
$totals111 = Vod::hasCache111($tempId);
if (!$totals111) {
$movieNames = getRandomMovieNamesByType111($vod, 20);
$movieNames = array_unique($movieNames);
$totals111 = Vod::getRandomMovieNamesByType111($movieNames, $tempId);
}
$totals2 = Vod::hasCache333($vod->type_id);
if (!$totals2) {
$totals2 = Vod::buildCache333($vod);
}
vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
:123
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
:124
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
:58
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php
:75
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! Str::of($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
if (! isset($this->compiledOrNotExpired[$path])) {
throw $e;
}
$this->compiler->compile($path);
vendor/laravel/framework/src/Illuminate/View/View.php
:209
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
vendor/laravel/framework/src/Illuminate/View/View.php
:192
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
vendor/laravel/framework/src/Illuminate/View/View.php
:161
* @throws \Throwable
*/
public function render(?callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
resources/views/default8/vod/search.blade.php
:59
@endforeach
{!! rand_html_tag(mt_rand(6, 10)) !!}
@php
$vodsByTypeId = Vod::getVodsByRandomSortAndTypeIds([21, 39], 25, 0, 'rnd');
@endphp
@if(!empty($vodsByTypeId))
@foreach($vodsByTypeId as $vo){{ $vo->vod_name }}@endforeach