/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/app/View/Components/Image.php
*/
$newId = get_post_thumbnail_id($this->image);
$this->image = $newId;
$image = wp_get_attachment_image_src($this->image, $this->size, false);
} else {
/*
Use cover image as last resort
*/
if (wp_attachment_is('video', $this->image)) {
$image = wp_get_attachment_image_src(get_option('options_placeholder_cover_movie'), $this->size, false);
} else {
$image = wp_get_attachment_image_src(get_option('options_placeholder_cover'), $this->size, false);
}
}
}
$attachment = get_post($this->image);
$mime = $attachment->post_mime_type;
if ($mime == 'image/svg+xml' && !$this->forceImg) {
/*
Svg file printed contents
*/
return [
'svg' => true,
'html' => file_get_contents(get_attached_file($this->image))
];
} elseif ($mime == 'image/svg+xml') {
/*
Svg file inside img tag - for seo reasons img needs width and height
*/
$svg = file_get_contents(get_attached_file($this->image));
$xmlget = simplexml_load_string($svg);
$xmlattributes = $xmlget->attributes();
$width = (string)$xmlattributes->width;
$height = (string)$xmlattributes->height;
} else {
/*
Arguments
"Attempt to read property "post_mime_type" on null (View: /home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/resources/views/partials/theme/sections/vertical-slider.blade.php) (View: /home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/resources/views/partials/theme/sections/vertical-slider.blade.php) (View: /home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/resources/views/partials/theme/sections/vertical-slider.blade.php)"
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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();
}
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/app/View/Components/Image.php
*/
$newId = get_post_thumbnail_id($this->image);
$this->image = $newId;
$image = wp_get_attachment_image_src($this->image, $this->size, false);
} else {
/*
Use cover image as last resort
*/
if (wp_attachment_is('video', $this->image)) {
$image = wp_get_attachment_image_src(get_option('options_placeholder_cover_movie'), $this->size, false);
} else {
$image = wp_get_attachment_image_src(get_option('options_placeholder_cover'), $this->size, false);
}
}
}
$attachment = get_post($this->image);
$mime = $attachment->post_mime_type;
if ($mime == 'image/svg+xml' && !$this->forceImg) {
/*
Svg file printed contents
*/
return [
'svg' => true,
'html' => file_get_contents(get_attached_file($this->image))
];
} elseif ($mime == 'image/svg+xml') {
/*
Svg file inside img tag - for seo reasons img needs width and height
*/
$svg = file_get_contents(get_attached_file($this->image));
$xmlget = simplexml_load_string($svg);
$xmlattributes = $xmlget->attributes();
$width = (string)$xmlattributes->width;
$height = (string)$xmlattributes->height;
} else {
/*
Arguments
"Attempt to read property "post_mime_type" on null (View: /home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/resources/views/partials/theme/sections/vertical-slider.blade.php) (View: /home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/resources/views/partials/theme/sections/vertical-slider.blade.php)"
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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();
}
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/app/View/Components/Image.php
*/
$newId = get_post_thumbnail_id($this->image);
$this->image = $newId;
$image = wp_get_attachment_image_src($this->image, $this->size, false);
} else {
/*
Use cover image as last resort
*/
if (wp_attachment_is('video', $this->image)) {
$image = wp_get_attachment_image_src(get_option('options_placeholder_cover_movie'), $this->size, false);
} else {
$image = wp_get_attachment_image_src(get_option('options_placeholder_cover'), $this->size, false);
}
}
}
$attachment = get_post($this->image);
$mime = $attachment->post_mime_type;
if ($mime == 'image/svg+xml' && !$this->forceImg) {
/*
Svg file printed contents
*/
return [
'svg' => true,
'html' => file_get_contents(get_attached_file($this->image))
];
} elseif ($mime == 'image/svg+xml') {
/*
Svg file inside img tag - for seo reasons img needs width and height
*/
$svg = file_get_contents(get_attached_file($this->image));
$xmlget = simplexml_load_string($svg);
$xmlattributes = $xmlget->attributes();
$width = (string)$xmlattributes->width;
$height = (string)$xmlattributes->height;
} else {
/*
Arguments
"Attempt to read property "post_mime_type" on null (View: /home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/resources/views/partials/theme/sections/vertical-slider.blade.php)"
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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();
}
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/app/View/Components/Image.php
*/
$newId = get_post_thumbnail_id($this->image);
$this->image = $newId;
$image = wp_get_attachment_image_src($this->image, $this->size, false);
} else {
/*
Use cover image as last resort
*/
if (wp_attachment_is('video', $this->image)) {
$image = wp_get_attachment_image_src(get_option('options_placeholder_cover_movie'), $this->size, false);
} else {
$image = wp_get_attachment_image_src(get_option('options_placeholder_cover'), $this->size, false);
}
}
}
$attachment = get_post($this->image);
$mime = $attachment->post_mime_type;
if ($mime == 'image/svg+xml' && !$this->forceImg) {
/*
Svg file printed contents
*/
return [
'svg' => true,
'html' => file_get_contents(get_attached_file($this->image))
];
} elseif ($mime == 'image/svg+xml') {
/*
Svg file inside img tag - for seo reasons img needs width and height
*/
$svg = file_get_contents(get_attached_file($this->image));
$xmlget = simplexml_load_string($svg);
$xmlattributes = $xmlget->attributes();
$width = (string)$xmlattributes->width;
$height = (string)$xmlattributes->height;
} else {
/*
Arguments
"Attempt to read property "post_mime_type" on null"
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/app/View/Components/Image.php
*/
$newId = get_post_thumbnail_id($this->image);
$this->image = $newId;
$image = wp_get_attachment_image_src($this->image, $this->size, false);
} else {
/*
Use cover image as last resort
*/
if (wp_attachment_is('video', $this->image)) {
$image = wp_get_attachment_image_src(get_option('options_placeholder_cover_movie'), $this->size, false);
} else {
$image = wp_get_attachment_image_src(get_option('options_placeholder_cover'), $this->size, false);
}
}
}
$attachment = get_post($this->image);
$mime = $attachment->post_mime_type;
if ($mime == 'image/svg+xml' && !$this->forceImg) {
/*
Svg file printed contents
*/
return [
'svg' => true,
'html' => file_get_contents(get_attached_file($this->image))
];
} elseif ($mime == 'image/svg+xml') {
/*
Svg file inside img tag - for seo reasons img needs width and height
*/
$svg = file_get_contents(get_attached_file($this->image));
$xmlget = simplexml_load_string($svg);
$xmlattributes = $xmlget->attributes();
$width = (string)$xmlattributes->width;
$height = (string)$xmlattributes->height;
} else {
/*
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/app/View/Components/Image.php
use Roots\Acorn\View\Component;
class Image extends Component
{
public function __construct(
public mixed $image,
public string $size = 'full',
public string $wrapperClass = 'image',
public bool $forceImg = false,
public string $bg = '255, 255, 255, 0.9',
public string $gd_start = '233, 233, 233, 0.05',
public string $gd_mid = '233, 233, 233, 0.2',
public string $gd_end = '233, 233, 233, 0.05'
) {
}
public function render()
{
return $this->view('components.image', $this->img());
}
public function img()
{
if (is_object($this->image)) {
/*
Get post thumbnail if post
*/
$post = $this->image;
$this->image = has_post_thumbnail($post) ? get_post_thumbnail_id($post) : false;
} elseif (is_array($this->image)) {
/*
ACF array of image
*/
$imageArray = $this->image;
$this->image = $imageArray['ID'];
}
$image = wp_get_attachment_image_src($this->image, $this->size, false);
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/vendor/illuminate/view/Component.php
$class = new ReflectionClass(static::class);
$constructor = $class->getConstructor();
static::$constructorParametersCache[static::class] = $constructor
? collect($constructor->getParameters())->map->getName()->all()
: [];
}
return static::$constructorParametersCache[static::class];
}
/**
* 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) {
return $this->extractBladeViewFromString($view);
};
return $view instanceof Closure ? function (array $data = []) use ($view, $resolver) {
return $resolver($view($data));
}
: $resolver($view);
}
/**
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/cache/acorn/framework/views/a1d90c0ab7c5b6408f78b52aaf8983294814baa5.php
<h2><?php echo $title; ?></h2>
<div class="slider-wrapper">
<div class="splide slides">
<div class="splide__track">
<ul class="splide__list">
<?php $__currentLoopData = $slides; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slide): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li class="splide__slide">
<div class="slide">
<div class="text-container">
<span class="year"><?php echo e($slide['year'] ?? 'Rok'); ?></span>
<h3><?php echo e($slide['title'] ?? 'Tytuł'); ?></h3>
<p><?php echo e($slide['description'] ?? 'Opis'); ?></p>
</div>
<div class="image-container">
<?php if(isset($slide['image'])): ?>
<?php if (isset($component)) { $__componentOriginalcf1fde6bef2907c23498101ce01c0f3f2594e0bd = $component; } ?>
<?php $component = App\View\Components\Image::resolve(['image' => $slide['image']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('image'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Image::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcf1fde6bef2907c23498101ce01c0f3f2594e0bd)): ?>
<?php $component = $__componentOriginalcf1fde6bef2907c23498101ce01c0f3f2594e0bd; ?>
<?php unset($__componentOriginalcf1fde6bef2907c23498101ce01c0f3f2594e0bd); ?>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
</div>
<div class="slider-navigation">
<div class="prev">
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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
"/home/w05/domains/copysystem.w05.pl/public_html/wp-content/cache/acorn/framework/views/a1d90c0ab7c5b6408f78b52aaf8983294814baa5.php"
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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;
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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();
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/vendor/illuminate/view/Engines/CompilerEngine.php
* @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 (! isset($this->compiledOrNotExpired[$path]) && $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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($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);
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
}
$this->compiledOrNotExpired[$path] = true;
array_pop($this->lastCompiled);
return $results;
}
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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 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.
*
* @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;
}
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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 number 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 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.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/vendor/illuminate/view/View.php
{
if (value($boolean)) {
return $this->fragments($fragments);
}
return $this->render();
}
/**
* 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
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/cache/acorn/framework/views/3f1aaac438d14a9e26b829aa8bbe20e5c0dcb98c.php
<?php if(isset($sections)): ?>
<?php $__currentLoopData = $sections; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $section): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php echo $__env->make('partials.theme.sections.' . $section['acf_fc_layout'], $section, \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
<?php /**PATH /home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/resources/views/partials/sections.blade.php ENDPATH**/ ?>
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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
"/home/w05/domains/copysystem.w05.pl/public_html/wp-content/cache/acorn/framework/views/3f1aaac438d14a9e26b829aa8bbe20e5c0dcb98c.php"
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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;
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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();
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/vendor/illuminate/view/Engines/CompilerEngine.php
* @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 (! isset($this->compiledOrNotExpired[$path]) && $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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($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);
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
}
$this->compiledOrNotExpired[$path] = true;
array_pop($this->lastCompiled);
return $results;
}
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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 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.
*
* @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;
}
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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 number 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 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.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/vendor/illuminate/view/View.php
{
if (value($boolean)) {
return $this->fragments($fragments);
}
return $this->render();
}
/**
* 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
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/cache/acorn/framework/views/323b7fcf66332cb172fcbde293646f198e3106a2.php
<?php $__env->startSection('main-content'); ?>
<?php echo $__env->make('partials.sections', \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 /home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/resources/views/page.blade.php ENDPATH**/ ?>
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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
"/home/w05/domains/copysystem.w05.pl/public_html/wp-content/cache/acorn/framework/views/323b7fcf66332cb172fcbde293646f198e3106a2.php"
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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;
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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();
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/vendor/illuminate/view/Engines/CompilerEngine.php
* @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 (! isset($this->compiledOrNotExpired[$path]) && $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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($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);
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
}
$this->compiledOrNotExpired[$path] = true;
array_pop($this->lastCompiled);
return $results;
}
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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 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.
*
* @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;
}
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/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 number 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 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.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/vendor/illuminate/view/View.php
{
if (value($boolean)) {
return $this->fragments($fragments);
}
return $this->render();
}
/**
* 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
/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/index.php
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action('get_header'); ?>
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
</body>
</html>
/home/w05/domains/copysystem.w05.pl/public_html/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
"/home/w05/domains/copysystem.w05.pl/public_html/wp-content/themes/copy-system-page/index.php"
/home/w05/domains/copysystem.w05.pl/public_html/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
"/home/w05/domains/copysystem.w05.pl/public_html/wp-includes/template-loader.php"
/home/w05/domains/copysystem.w05.pl/public_html/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
"/home/w05/domains/copysystem.w05.pl/public_html/wp-blog-header.php"