/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/view/Factory.php
$this->finder->find($view);
} catch (InvalidArgumentException $e) {
return false;
}
return true;
}
/**
* Get the appropriate view engine for the given path.
*
* @param string $path
* @return \Illuminate\Contracts\View\Engine
*
* @throws \InvalidArgumentException
*/
public function getEngineFromPath($path)
{
if (! $extension = $this->getExtension($path)) {
throw new InvalidArgumentException("Unrecognized extension in file: {$path}.");
}
$engine = $this->extensions[$extension];
return $this->engines->resolve($engine);
}
/**
* Get the extension used by the view file.
*
* @param string $path
* @return string|null
*/
protected function getExtension($path)
{
$extensions = array_keys($this->extensions);
return Arr::first($extensions, function ($value) use ($path) {
return Str::endsWith($path, '.'.$value);
});
Arguments
"Unrecognized extension in file: components.alert. (View: /www/skaletalent_458/public/wp-content/themes/skale-theme/resources/views/index.blade.php)"
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/view/Engines/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// 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
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
}
Arguments
InvalidArgumentException {#2996
#message: "Unrecognized extension in file: components.alert."
#code: 0
#file: "/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/view/Factory.php"
#line: 305
}
2
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/view/Factory.php
$this->finder->find($view);
} catch (InvalidArgumentException $e) {
return false;
}
return true;
}
/**
* Get the appropriate view engine for the given path.
*
* @param string $path
* @return \Illuminate\Contracts\View\Engine
*
* @throws \InvalidArgumentException
*/
public function getEngineFromPath($path)
{
if (! $extension = $this->getExtension($path)) {
throw new InvalidArgumentException("Unrecognized extension in file: {$path}.");
}
$engine = $this->extensions[$extension];
return $this->engines->resolve($engine);
}
/**
* Get the extension used by the view file.
*
* @param string $path
* @return string|null
*/
protected function getExtension($path)
{
$extensions = array_keys($this->extensions);
return Arr::first($extensions, function ($value) use ($path) {
return Str::endsWith($path, '.'.$value);
});
Arguments
"Unrecognized extension in file: components.alert."
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/view/Factory.php
*
* @param mixed $data
* @return array
*/
protected function parseData($data)
{
return $data instanceof Arrayable ? $data->toArray() : $data;
}
/**
* Create a new view instance from the given arguments.
*
* @param string $view
* @param string $path
* @param \Illuminate\Contracts\Support\Arrayable|array $data
* @return \Illuminate\Contracts\View\View
*/
protected function viewInstance($view, $path, $data)
{
return new View($this, $this->getEngineFromPath($path), $view, $path, $data);
}
/**
* Determine if a given view exists.
*
* @param string $view
* @return bool
*/
public function exists($view)
{
try {
$this->finder->find($view);
} catch (InvalidArgumentException $e) {
return false;
}
return true;
}
/**
Arguments
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/view/Factory.php
$this->finder = $finder;
$this->events = $events;
$this->engines = $engines;
$this->share('__env', $this);
}
/**
* Get the evaluated view contents for the given view.
*
* @param string $path
* @param \Illuminate\Contracts\Support\Arrayable|array $data
* @param array $mergeData
* @return \Illuminate\Contracts\View\View
*/
public function file($path, $data = [], $mergeData = [])
{
$data = array_merge($mergeData, $this->parseData($data));
return tap($this->viewInstance($path, $path, $data), function ($view) {
$this->callCreator($view);
});
}
/**
* Get the evaluated view contents for the given view.
*
* @param string $view
* @param \Illuminate\Contracts\Support\Arrayable|array $data
* @param array $mergeData
* @return \Illuminate\Contracts\View\View
*/
public function make($view, $data = [], $mergeData = [])
{
$path = $this->finder->find(
$view = $this->normalizeName($view)
);
// Next, we will create the view instance and call the view creator for the view
// which can set any data, etc. Then we will return the view instance back to
Arguments
"components.alert"
"components.alert"
[]
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/roots/acorn/src/helpers.php
* Get the evaluated view contents for the given view.
*
* @param string|null $view
* @param Arrayable|array $data
* @param array $mergeData
* @return View|ViewFactory
*
* @copyright Taylor Otwell
* @link https://github.com/laravel/framework/blob/8.x/src/Illuminate/Foundation/helpers.php
*/
function view($view = null, $data = [], $mergeData = [])
{
$factory = app(ViewFactory::class);
if (func_num_args() === 0) {
return $factory;
}
return $factory->exists($view)
? $factory->make($view, $data, $mergeData) : $factory->file($view, $data, $mergeData);
}
/**
* Initialize the Acorn bootloader.
*
* @param callable|null $callback
* @return void
*/
function bootloader($callback = null)
{
static $bootloader;
if (! $bootloader) {
$bootloader = new Bootloader();
}
if (is_callable($callback)) {
$bootloader->call($callback);
}
}
Arguments
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/roots/acorn/src/Roots/Acorn/View/Component.php
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\View\Factory;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component as ComponentBase;
use function Roots\view;
abstract class Component extends ComponentBase
{
/**
* Get the evaluated view contents for the given view.
*
* @param string|null $view
* @param Arrayable|array $data
* @param array $mergeData
* @return View|Factory
*/
public function view($view = null, $data = [], $mergeData = [])
{
return view($view, $data, $mergeData);
}
}
Arguments
/www/skaletalent_458/public/wp-content/themes/skale-theme/app/View/Components/Alert.php
* Create the component instance.
*
* @param string $type
* @param string $message
* @return void
*/
public function __construct($type = 'default', $message = null)
{
$this->type = $this->types[$type] ?? $this->types['default'];
$this->message = $message;
}
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\View\View|string
*/
public function render()
{
return $this->view('components.alert');
}
}
Arguments
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/view/Component.php
*
* @var \Illuminate\View\ComponentAttributeBag
*/
public $attributes;
/**
* Get the view / view contents that represent the component.
*
* @return \Illuminate\Contracts\View\View|\Illuminate\Contracts\Support\Htmlable|\Closure|string
*/
abstract public function render();
/**
* Resolve the Blade view or view file that should be used when rendering the component.
*
* @return \Illuminate\Contracts\View\View|\Illuminate\Contracts\Support\Htmlable|\Closure|string
*/
public function resolveView()
{
$view = $this->render();
if ($view instanceof ViewContract) {
return $view;
}
if ($view instanceof Htmlable) {
return $view;
}
$resolver = function ($view) {
$factory = Container::getInstance()->make('view');
return strlen($view) <= PHP_MAXPATHLEN && $factory->exists($view)
? $view
: $this->createBladeViewFromString($factory, $view);
};
return $view instanceof Closure ? function (array $data = []) use ($view, $resolver) {
return $resolver($view($data));
}
/www/skaletalent_458/public/wp-content/cache/acorn/views/4803810a7a04b9a137a52ad3606b2be3ca3add62.php
<?php $__env->startSection('content'); ?>
<?php echo $__env->make('partials.page-header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php if(! have_posts()): ?>
<?php if (isset($component)) { $__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\Alert::class, ['type' => 'warning']); ?>
<?php $component->withName('alert'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo __('Sorry, no results were found.', 'sage'); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975)): ?>
<?php $component = $__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975; ?>
<?php unset($__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975); ?>
<?php endif; ?>
<?php echo get_search_form(false); ?>
<?php endif; ?>
<?php while(have_posts()): ?> <?php (the_post()); ?>
<?php echo $__env->first(['partials.content-' . get_post_type(), 'partials.content'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php echo get_the_posts_navigation(); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('sidebar'); ?>
<?php echo $__env->make('partials.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/skaletalent_458/public/wp-content/themes/skale-theme/resources/views/index.blade.php ENDPATH**/ ?>
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__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
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
Arguments
"/www/skaletalent_458/public/wp-content/cache/acorn/views/4803810a7a04b9a137a52ad3606b2be3ca3add62.php"
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__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
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/view/Engines/PhpEngine.php
}
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// 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
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
Arguments
"/www/skaletalent_458/public/wp-content/cache/acorn/views/4803810a7a04b9a137a52ad3606b2be3ca3add62.php"
array:5 [
"__env" => Illuminate\View\Factory {#1128}
"app" => Roots\Acorn\Application {#1043}
"header" => array:2 [
"logo" => array:24 [
"ID" => 71
"id" => 71
"title" => "logo-dark"
"filename" => "logo-dark.svg"
"filesize" => 3059
"url" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"link" => "https://skaletalent.com/logo-dark/"
"alt" => ""
"author" => "1"
"description" => ""
"caption" => ""
"name" => "logo-dark"
"status" => "inherit"
"uploaded_to" => 0
"date" => "2023-05-31 10:04:03"
"modified" => "2023-05-31 10:04:03"
"menu_order" => 0
"mime_type" => "image/svg+xml"
"type" => "image"
"subtype" => "svg+xml"
"icon" => "https://skaletalent.com/wp-includes/images/media/default.png"
"width" => 67
"height" => 20
"sizes" => array:27 [
"thumbnail" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"thumbnail-width" => 150
"thumbnail-height" => 45
"medium" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"medium-width" => 300
"medium-height" => 90
"medium_large" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"medium_large-width" => 768
"medium_large-height" => 229
"large" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"large-width" => 1024
"large-height" => 306
"1536x1536" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"1536x1536-width" => 67
"1536x1536-height" => 20
"2048x2048" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"2048x2048-width" => 67
"2048x2048-height" => 20
"banner" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"banner-width" => 67
"banner-height" => 20
"hero" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"hero-width" => 67
"hero-height" => 20
"alm-thumbnail" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"alm-thumbnail-width" => 67
"alm-thumbnail-height" => 20
]
]
"banner_color" => "default"
]
"footer" => array:1 [
"copyright" => "© Skale Talent 2023"
]
"global" => array:5 [
"address" => """
Skale Talent, Beehive Mill, Jersey St,<br />\r\n
Ancoats, Manchester M4 6JG
"""
"email_1" => "hi@skaletalent.com"
"telephone_1" => "US +1 415 429 6688 </br>UK +44 161 529 7487"
"left_link" => ""
"right_link" => ""
]
]
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/view/Engines/CompilerEngine.php
*
* @param string $path
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// 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.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/www/skaletalent_458/public/wp-content/cache/acorn/views/4803810a7a04b9a137a52ad3606b2be3ca3add62.php"
array:5 [
"__env" => Illuminate\View\Factory {#1128}
"app" => Roots\Acorn\Application {#1043}
"header" => array:2 [
"logo" => array:24 [
"ID" => 71
"id" => 71
"title" => "logo-dark"
"filename" => "logo-dark.svg"
"filesize" => 3059
"url" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"link" => "https://skaletalent.com/logo-dark/"
"alt" => ""
"author" => "1"
"description" => ""
"caption" => ""
"name" => "logo-dark"
"status" => "inherit"
"uploaded_to" => 0
"date" => "2023-05-31 10:04:03"
"modified" => "2023-05-31 10:04:03"
"menu_order" => 0
"mime_type" => "image/svg+xml"
"type" => "image"
"subtype" => "svg+xml"
"icon" => "https://skaletalent.com/wp-includes/images/media/default.png"
"width" => 67
"height" => 20
"sizes" => array:27 [
"thumbnail" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"thumbnail-width" => 150
"thumbnail-height" => 45
"medium" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"medium-width" => 300
"medium-height" => 90
"medium_large" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"medium_large-width" => 768
"medium_large-height" => 229
"large" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"large-width" => 1024
"large-height" => 306
"1536x1536" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"1536x1536-width" => 67
"1536x1536-height" => 20
"2048x2048" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"2048x2048-width" => 67
"2048x2048-height" => 20
"banner" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"banner-width" => 67
"banner-height" => 20
"hero" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"hero-width" => 67
"hero-height" => 20
"alm-thumbnail" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"alm-thumbnail-width" => 67
"alm-thumbnail-height" => 20
]
]
"banner_color" => "default"
]
"footer" => array:1 [
"copyright" => "© Skale Talent 2023"
]
"global" => array:5 [
"address" => """
Skale Talent, Beehive Mill, Jersey St,<br />\r\n
Ancoats, Manchester M4 6JG
"""
"email_1" => "hi@skaletalent.com"
"telephone_1" => "US +1 415 429 6688 </br>UK +44 161 529 7487"
"left_link" => ""
"right_link" => ""
]
]
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/view/View.php
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get 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.
*
* @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);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
Arguments
"/www/skaletalent_458/public/wp-content/themes/skale-theme/resources/views/index.blade.php"
array:5 [
"__env" => Illuminate\View\Factory {#1128}
"app" => Roots\Acorn\Application {#1043}
"header" => array:2 [
"logo" => array:24 [
"ID" => 71
"id" => 71
"title" => "logo-dark"
"filename" => "logo-dark.svg"
"filesize" => 3059
"url" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"link" => "https://skaletalent.com/logo-dark/"
"alt" => ""
"author" => "1"
"description" => ""
"caption" => ""
"name" => "logo-dark"
"status" => "inherit"
"uploaded_to" => 0
"date" => "2023-05-31 10:04:03"
"modified" => "2023-05-31 10:04:03"
"menu_order" => 0
"mime_type" => "image/svg+xml"
"type" => "image"
"subtype" => "svg+xml"
"icon" => "https://skaletalent.com/wp-includes/images/media/default.png"
"width" => 67
"height" => 20
"sizes" => array:27 [
"thumbnail" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"thumbnail-width" => 150
"thumbnail-height" => 45
"medium" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"medium-width" => 300
"medium-height" => 90
"medium_large" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"medium_large-width" => 768
"medium_large-height" => 229
"large" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"large-width" => 1024
"large-height" => 306
"1536x1536" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"1536x1536-width" => 67
"1536x1536-height" => 20
"2048x2048" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"2048x2048-width" => 67
"2048x2048-height" => 20
"banner" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"banner-width" => 67
"banner-height" => 20
"hero" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"hero-width" => 67
"hero-height" => 20
"alm-thumbnail" => "https://skaletalent.com/wp-content/uploads/2023/05/logo-dark.svg"
"alm-thumbnail-width" => 67
"alm-thumbnail-height" => 20
]
]
"banner_color" => "default"
]
"footer" => array:1 [
"copyright" => "© Skale Talent 2023"
]
"global" => array:5 [
"address" => """
Skale Talent, Beehive Mill, Jersey St,<br />\r\n
Ancoats, Manchester M4 6JG
"""
"email_1" => "hi@skaletalent.com"
"telephone_1" => "US +1 415 429 6688 </br>UK +44 161 529 7487"
"left_link" => ""
"right_link" => ""
]
]
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/view/View.php
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// 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 sections get 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.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/www/skaletalent_458/public/wp-content/themes/skale-theme/vendor/illuminate/view/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return string
*
* @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();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/www/skaletalent_458/public/wp-content/themes/skale-theme/index.php
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500&display=swap" rel="stylesheet">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action('get_header'); ?>
<div id="app">
<?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
</div>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
</body>
</html>
/www/skaletalent_458/public/wp-includes/template-loader.php
}
break;
}
}
if ( ! $template ) {
$template = get_index_template();
}
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
}
Arguments
"/www/skaletalent_458/public/wp-content/themes/skale-theme/index.php"
/www/skaletalent_458/public/wp-blog-header.php
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
Arguments
"/www/skaletalent_458/public/wp-includes/template-loader.php"
/www/skaletalent_458/public/index.php
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
Arguments
"/www/skaletalent_458/public/wp-blog-header.php"