/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php
set_transient($seo_posts_transient_name, $posts, $seo_posts_transient_expiration);
}
$data = [];
foreach ($posts as $key => $post) {
unset($post->post_content);
unset($post->guid);
$seo_this_post_suffixes_transient_name = "adwisemedia_seo_pages_suffixes_" . $post->ID;
$seo_this_post_suffixes_transient_expiration = (12 * HOUR_IN_SECONDS);
$seo_this_post_suffixes_transient = get_transient($seo_this_post_suffixes_transient_name);
if (($suffixes = $seo_this_post_suffixes_transient) == false) {
$suffixes = wp_get_post_terms($post->ID, 'seo-pages-suffixes', ['fields' => 'all']);
set_transient($seo_this_post_suffixes_transient_name, $suffixes, $seo_this_post_suffixes_transient_expiration);
}
if ($suffixes) {
foreach ($suffixes as $term_id => $suffix) {
if (!isset($data[ $suffix->slug ])) {
$data[ $suffix->slug ] = [
'title' => $suffix->name,
'items' => [],
];
}
$lang_slug = '';
if ($polylang) {
$lang_slug = $_language = wp_get_post_terms($post->ID, 'language')[0]->slug;
$lang_slug .= '/';
$polylang_settings = get_option('polylang');
if (isset($polylang_settings['hide_default']) && $polylang_settings['hide_default'] === 1 && $default_language === $_language) {
$lang_slug = '';
}
}
$entry = [
'title' => replace_suffix_tags($post->post_title, $suffix->name),
'url' => home_url() . '/' . $lang_slug . $post->post_name . '-' . $suffix->slug . '/',
Arguments
"Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)"
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatePath($__path, $__data)
{
$obLevel = ob_get_level();
ob_start();
extract($__data, EXTR_SKIP);
// 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 {
include $__path;
} catch (Exception $e) {
$this->handleViewException($e, $obLevel);
} catch (Throwable $e) {
$this->handleViewException(new FatalThrowableError($e), $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
Arguments
Illuminate\View\ViewException {#11581
#message: "Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)"
#code: 0
#file: "/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
#line: 261
-previous: Illuminate\View\ViewException {#11523
#message: "Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)"
#code: 0
#file: "/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
#line: 261
-previous: Whoops\Exception\ErrorException {#11519
#message: "Attempt to read property "slug" on string"
#code: 2
#file: "/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
#line: 261
#severity: E_WARNING
}
#severity: E_ERROR
}
#severity: E_ERROR
}
1
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php
set_transient($seo_posts_transient_name, $posts, $seo_posts_transient_expiration);
}
$data = [];
foreach ($posts as $key => $post) {
unset($post->post_content);
unset($post->guid);
$seo_this_post_suffixes_transient_name = "adwisemedia_seo_pages_suffixes_" . $post->ID;
$seo_this_post_suffixes_transient_expiration = (12 * HOUR_IN_SECONDS);
$seo_this_post_suffixes_transient = get_transient($seo_this_post_suffixes_transient_name);
if (($suffixes = $seo_this_post_suffixes_transient) == false) {
$suffixes = wp_get_post_terms($post->ID, 'seo-pages-suffixes', ['fields' => 'all']);
set_transient($seo_this_post_suffixes_transient_name, $suffixes, $seo_this_post_suffixes_transient_expiration);
}
if ($suffixes) {
foreach ($suffixes as $term_id => $suffix) {
if (!isset($data[ $suffix->slug ])) {
$data[ $suffix->slug ] = [
'title' => $suffix->name,
'items' => [],
];
}
$lang_slug = '';
if ($polylang) {
$lang_slug = $_language = wp_get_post_terms($post->ID, 'language')[0]->slug;
$lang_slug .= '/';
$polylang_settings = get_option('polylang');
if (isset($polylang_settings['hide_default']) && $polylang_settings['hide_default'] === 1 && $default_language === $_language) {
$lang_slug = '';
}
}
$entry = [
'title' => replace_suffix_tags($post->post_title, $suffix->name),
'url' => home_url() . '/' . $lang_slug . $post->post_name . '-' . $suffix->slug . '/',
Arguments
"Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)"
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatePath($__path, $__data)
{
$obLevel = ob_get_level();
ob_start();
extract($__data, EXTR_SKIP);
// 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 {
include $__path;
} catch (Exception $e) {
$this->handleViewException($e, $obLevel);
} catch (Throwable $e) {
$this->handleViewException(new FatalThrowableError($e), $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
Arguments
Illuminate\View\ViewException {#11523
#message: "Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)"
#code: 0
#file: "/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
#line: 261
-previous: Whoops\Exception\ErrorException {#11519
#message: "Attempt to read property "slug" on string"
#code: 2
#file: "/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
#line: 261
#severity: E_WARNING
}
#severity: E_ERROR
}
2
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php
set_transient($seo_posts_transient_name, $posts, $seo_posts_transient_expiration);
}
$data = [];
foreach ($posts as $key => $post) {
unset($post->post_content);
unset($post->guid);
$seo_this_post_suffixes_transient_name = "adwisemedia_seo_pages_suffixes_" . $post->ID;
$seo_this_post_suffixes_transient_expiration = (12 * HOUR_IN_SECONDS);
$seo_this_post_suffixes_transient = get_transient($seo_this_post_suffixes_transient_name);
if (($suffixes = $seo_this_post_suffixes_transient) == false) {
$suffixes = wp_get_post_terms($post->ID, 'seo-pages-suffixes', ['fields' => 'all']);
set_transient($seo_this_post_suffixes_transient_name, $suffixes, $seo_this_post_suffixes_transient_expiration);
}
if ($suffixes) {
foreach ($suffixes as $term_id => $suffix) {
if (!isset($data[ $suffix->slug ])) {
$data[ $suffix->slug ] = [
'title' => $suffix->name,
'items' => [],
];
}
$lang_slug = '';
if ($polylang) {
$lang_slug = $_language = wp_get_post_terms($post->ID, 'language')[0]->slug;
$lang_slug .= '/';
$polylang_settings = get_option('polylang');
if (isset($polylang_settings['hide_default']) && $polylang_settings['hide_default'] === 1 && $default_language === $_language) {
$lang_slug = '';
}
}
$entry = [
'title' => replace_suffix_tags($post->post_title, $suffix->name),
'url' => home_url() . '/' . $lang_slug . $post->post_name . '-' . $suffix->slug . '/',
Arguments
"Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)"
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatePath($__path, $__data)
{
$obLevel = ob_get_level();
ob_start();
extract($__data, EXTR_SKIP);
// 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 {
include $__path;
} catch (Exception $e) {
$this->handleViewException($e, $obLevel);
} catch (Throwable $e) {
$this->handleViewException(new FatalThrowableError($e), $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
Arguments
Whoops\Exception\ErrorException {#11519
#message: "Attempt to read property "slug" on string"
#code: 2
#file: "/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
#line: 261
#severity: E_WARNING
}
3
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php
set_transient($seo_posts_transient_name, $posts, $seo_posts_transient_expiration);
}
$data = [];
foreach ($posts as $key => $post) {
unset($post->post_content);
unset($post->guid);
$seo_this_post_suffixes_transient_name = "adwisemedia_seo_pages_suffixes_" . $post->ID;
$seo_this_post_suffixes_transient_expiration = (12 * HOUR_IN_SECONDS);
$seo_this_post_suffixes_transient = get_transient($seo_this_post_suffixes_transient_name);
if (($suffixes = $seo_this_post_suffixes_transient) == false) {
$suffixes = wp_get_post_terms($post->ID, 'seo-pages-suffixes', ['fields' => 'all']);
set_transient($seo_this_post_suffixes_transient_name, $suffixes, $seo_this_post_suffixes_transient_expiration);
}
if ($suffixes) {
foreach ($suffixes as $term_id => $suffix) {
if (!isset($data[ $suffix->slug ])) {
$data[ $suffix->slug ] = [
'title' => $suffix->name,
'items' => [],
];
}
$lang_slug = '';
if ($polylang) {
$lang_slug = $_language = wp_get_post_terms($post->ID, 'language')[0]->slug;
$lang_slug .= '/';
$polylang_settings = get_option('polylang');
if (isset($polylang_settings['hide_default']) && $polylang_settings['hide_default'] === 1 && $default_language === $_language) {
$lang_slug = '';
}
}
$entry = [
'title' => replace_suffix_tags($post->post_title, $suffix->name),
'url' => home_url() . '/' . $lang_slug . $post->post_name . '-' . $suffix->slug . '/',
Arguments
"Attempt to read property "slug" on string"
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php
set_transient($seo_posts_transient_name, $posts, $seo_posts_transient_expiration);
}
$data = [];
foreach ($posts as $key => $post) {
unset($post->post_content);
unset($post->guid);
$seo_this_post_suffixes_transient_name = "adwisemedia_seo_pages_suffixes_" . $post->ID;
$seo_this_post_suffixes_transient_expiration = (12 * HOUR_IN_SECONDS);
$seo_this_post_suffixes_transient = get_transient($seo_this_post_suffixes_transient_name);
if (($suffixes = $seo_this_post_suffixes_transient) == false) {
$suffixes = wp_get_post_terms($post->ID, 'seo-pages-suffixes', ['fields' => 'all']);
set_transient($seo_this_post_suffixes_transient_name, $suffixes, $seo_this_post_suffixes_transient_expiration);
}
if ($suffixes) {
foreach ($suffixes as $term_id => $suffix) {
if (!isset($data[ $suffix->slug ])) {
$data[ $suffix->slug ] = [
'title' => $suffix->name,
'items' => [],
];
}
$lang_slug = '';
if ($polylang) {
$lang_slug = $_language = wp_get_post_terms($post->ID, 'language')[0]->slug;
$lang_slug .= '/';
$polylang_settings = get_option('polylang');
if (isset($polylang_settings['hide_default']) && $polylang_settings['hide_default'] === 1 && $default_language === $_language) {
$lang_slug = '';
}
}
$entry = [
'title' => replace_suffix_tags($post->post_title, $suffix->name),
'url' => home_url() . '/' . $lang_slug . $post->post_name . '-' . $suffix->slug . '/',
Arguments
2
"Attempt to read property "slug" on string"
"/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
261
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/app/Integrations/DynamicPages/DynamicPages.php
<?php
namespace Acrux\Integrations\DynamicPages;
use function Acrux\Core\{is_iterable, locate_template, template};
/**
* Display DynamicPages menu.
*/
function dynamic_pages_nav()
{
if (function_exists('get_dynamic_pages')) {
$pages = get_dynamic_pages();
if (is_iterable($pages)) {
echo template(locate_template('views/modules/dynamic-pages-menu.blade.php'), ['pages' => $pages]);
}
}
}
/www/erocket_573/public/shared/uploads/sites/154/cache/75ef80691af2365fab6b0341185ed1f875948599.php
<?php $__env->endSlot(); ?>
<?php echo $__env->renderComponent(); ?>
<?php $__env->startComponent('modules.slideout', ['atts' => ['id' => 'slideout-orphan-pages-menu', 'size' => 'md', 'align' => 'right', 'class_body' => 'u-p-0', 'scroll' => false]]); ?>
<?php $__env->slot('slideout_header'); ?>
<?php $__env->startComponent('components.heading', ['atts' => ['element' => 'h3', 'size' => 'sm', 'class' => 'm-slideout__title']]); ?>
<?php $__env->slot('heading_icon'); ?>
<?php $__env->startComponent('components.icon', ['atts' => ['size' => 'lg']]); ?>
<?= \App::svg('map'); ?>
<?php echo $__env->renderComponent(); ?>
<?php $__env->endSlot(); ?>
<?php echo e(__('Regions & places', 'acrux')); ?>
<?php echo $__env->renderComponent(); ?>
<?php $__env->endSlot(); ?>
<?php if(function_exists('Acrux\Integrations\DynamicPages\dynamic_pages_nav') && function_exists('get_dynamic_pages')): ?>
<?php
dynamic_pages_nav();
?>
<?php else: ?>
<?php $__env->startComponent('components.alert', ['atts' => ['theme' => 'info']]); ?>
<?php echo e(__('Sorry, no pages were found', 'acrux')); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php /**PATH /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php ENDPATH**/ ?>
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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();
extract($__data, EXTR_SKIP);
// 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 {
include $__path;
} catch (Exception $e) {
$this->handleViewException($e, $obLevel);
} catch (Throwable $e) {
$this->handleViewException(new FatalThrowableError($e), $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
Arguments
"/www/erocket_573/public/shared/uploads/sites/154/cache/75ef80691af2365fab6b0341185ed1f875948599.php"
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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 ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
$compiled = $this->compiler->getCompiledPath($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($compiled, $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
$e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/www/erocket_573/public/releases/20231106232239/web/app/uploads/sites/154/cache/75ef80691af2365fab6b0341185ed1f875948599.php"
array:9 [
"__env" => Illuminate\View\Factory {#7059}
"app" => Roots\Sage\Container {#6289}
"footer" => {#10661}
"main" => {#10707}
"header" => {#10709}
"post" => WP_Post {#305}
"obLevel" => 2
"query" => WP_Query {#2358}
"wp_query" => WP_Query {#2358}
]
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php"
array:9 [
"__env" => Illuminate\View\Factory {#7059}
"app" => Roots\Sage\Container {#6289}
"footer" => {#10661}
"main" => {#10707}
"header" => {#10709}
"post" => WP_Post {#305}
"obLevel" => 2
"query" => WP_Query {#2358}
"wp_query" => WP_Query {#2358}
]
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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 array|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 (Exception $e) {
$this->factory->flushState();
throw $e;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/www/erocket_573/public/shared/uploads/sites/154/cache/3fba5f68df0414e59816a809ac5056544f677a2f.php
<!doctype html>
<html <?php echo get_language_attributes(); ?>>
<?php if ($__env->exists('partials.head')) echo $__env->make('partials.head', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<body <?php body_class(); ?>>
<?php do_action('wp_body_open'); ?>
<?php if ($__env->exists('layouts.header')) echo $__env->make('layouts.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php if ($__env->exists('layouts.main')) echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php if ($__env->exists('partials.slideouts')) echo $__env->make('partials.slideouts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php if ($__env->exists('partials.svg-defs')) echo $__env->make('partials.svg-defs', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php if ($__env->exists('layouts.footer')) echo $__env->make('layouts.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</body>
</html>
<?php /**PATH /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/templates/default.blade.php ENDPATH**/ ?>
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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();
extract($__data, EXTR_SKIP);
// 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 {
include $__path;
} catch (Exception $e) {
$this->handleViewException($e, $obLevel);
} catch (Throwable $e) {
$this->handleViewException(new FatalThrowableError($e), $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
Arguments
"/www/erocket_573/public/shared/uploads/sites/154/cache/3fba5f68df0414e59816a809ac5056544f677a2f.php"
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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 ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
$compiled = $this->compiler->getCompiledPath($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($compiled, $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
$e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/www/erocket_573/public/releases/20231106232239/web/app/uploads/sites/154/cache/3fba5f68df0414e59816a809ac5056544f677a2f.php"
array:9 [
"__env" => Illuminate\View\Factory {#7059}
"app" => Roots\Sage\Container {#6289}
"footer" => {#10661}
"main" => {#10707}
"header" => {#10709}
"post" => WP_Post {#305}
"obLevel" => 1
"query" => WP_Query {#2358}
"wp_query" => & WP_Query {#2358}
]
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/templates/default.blade.php"
array:9 [
"__env" => Illuminate\View\Factory {#7059}
"app" => Roots\Sage\Container {#6289}
"footer" => {#10661}
"main" => {#10707}
"header" => {#10709}
"post" => WP_Post {#305}
"obLevel" => 1
"query" => WP_Query {#2358}
"wp_query" => & WP_Query {#2358}
]
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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 array|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 (Exception $e) {
$this->factory->flushState();
throw $e;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/www/erocket_573/public/shared/uploads/sites/154/cache/327529b16fb02730e8279ad49c3902624e44cecf.php
<?php $__env->startSection('content'); ?>
<?php if (empty($query)) : ?><?php global $wp_query; ?><?php $query = $wp_query; ?><?php endif; ?><?php if ($query->have_posts()) : ?><?php while ($query->have_posts()) : $query->the_post(); ?>
<?php echo $__env->make('partials.post-types.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; wp_reset_postdata(); endif; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('templates.default', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php ENDPATH**/ ?>
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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();
extract($__data, EXTR_SKIP);
// 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 {
include $__path;
} catch (Exception $e) {
$this->handleViewException($e, $obLevel);
} catch (Throwable $e) {
$this->handleViewException(new FatalThrowableError($e), $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
Arguments
"/www/erocket_573/public/shared/uploads/sites/154/cache/327529b16fb02730e8279ad49c3902624e44cecf.php"
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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 ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
$compiled = $this->compiler->getCompiledPath($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($compiled, $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Exception $e
* @param int $obLevel
* @return void
*
* @throws \Exception
*/
protected function handleViewException(Exception $e, $obLevel)
{
$e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/www/erocket_573/public/releases/20231106232239/web/app/uploads/sites/154/cache/327529b16fb02730e8279ad49c3902624e44cecf.php"
array:6 [
"__env" => Illuminate\View\Factory {#7059}
"app" => Roots\Sage\Container {#6289}
"footer" => {#10661}
"main" => {#10707}
"header" => {#10709}
"post" => WP_Post {#305}
]
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
array:6 [
"__env" => Illuminate\View\Factory {#7059}
"app" => Roots\Sage\Container {#6289}
"footer" => {#10661}
"main" => {#10707}
"header" => {#10709}
"post" => WP_Post {#305}
]
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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/erocket_573/public/releases/20231106232239/web/app/themes/acrux/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 array|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 (Exception $e) {
$this->factory->flushState();
throw $e;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/roots/sage-lib/Template/Blade.php
public function compiler()
{
static $engineResolver;
if (!$engineResolver) {
$engineResolver = $this->getContainer()->make('view.engine.resolver');
}
return $engineResolver->resolve('blade')->getCompiler();
}
/**
* @param string $view
* @param array $data
* @param array $mergeData
* @return string
*/
public function render($view, $data = [], $mergeData = [])
{
/** @var \Illuminate\Contracts\Filesystem\Filesystem $filesystem */
$filesystem = $this->getContainer()['files'];
return $this->{$filesystem->exists($view) ? 'file' : 'make'}($view, $data, $mergeData)->render();
}
/**
* @param string $file
* @param array $data
* @param array $mergeData
* @return string
*/
public function compiledPath($file, $data = [], $mergeData = [])
{
$rendered = $this->file($file, $data, $mergeData);
/** @var EngineInterface $engine */
$engine = $rendered->getEngine();
if (!($engine instanceof CompilerEngine)) {
// Using PhpEngine, so just return the file
return $file;
}
$compiler = $engine->getCompiler();
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/app/Core/Functions.php
if (is_null($key)) {
return sage('config');
}
if (is_array($key)) {
return sage('config')->set($key);
}
return sage('config')->get($key);
}
/**
* @param string $file
* @param array $data
*
* @return string
*/
function template($file, $data = [])
{
return sage('blade')->render($file, $data);
}
/**
* Retrieve path to a compiled blade view
*
* @param $file
* @param array $data
*
* @return string
*/
function template_path($file, $data = [])
{
return sage('blade')->compiledPath($file, $data);
}
/**
* @param $asset
*
* @return string
*/
Arguments
"/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
[]
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/app/Core/Blade/Setup.php
* @return string|null
*/
public function renderBladePage($template)
{
collect(['get_header', 'wp_head'])->each(function ($tag) {
ob_start();
do_action($tag);
$output = ob_get_clean();
remove_all_actions($tag);
add_action($tag, function () use ($output) {
echo $output;
});
});
$data = collect(get_body_class())->reduce(function ($data, $class) use ($template) {
return apply_filters("sage/template/{$class}/data", $data, $template);
}, []);
if ($template) {
echo template($template, $data);
return get_stylesheet_directory() . '/index.php';
}
return $template;
}
/**
* Template Hierarchy should search for .blade.php files
*/
public function initTemplateFilters()
{
collect([
'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date', 'home',
'frontpage', 'page', 'paged', 'search', 'single', 'singular', 'attachment', 'embed'
])->map(function ($type) {
add_filter("{$type}_template_hierarchy", 'Acrux\Core\filter_templates');
});
}
Arguments
"/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
[]
/www/erocket_573/public/releases/20231106232239/web/wp/wp-includes/class-wp-hook.php
$nesting_level = $this->nesting_level++;
$this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
$num_args = count( $args );
do {
$this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
$priority = $this->current_priority[ $nesting_level ];
foreach ( $this->callbacks[ $priority ] as $the_ ) {
if ( ! $this->doing_action ) {
$args[0] = $value;
}
// Avoid the array_slice() if possible.
if ( 0 == $the_['accepted_args'] ) {
$value = call_user_func( $the_['function'] );
} elseif ( $the_['accepted_args'] >= $num_args ) {
$value = call_user_func_array( $the_['function'], $args );
} else {
$value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int) $the_['accepted_args'] ) );
}
}
} while ( false !== next( $this->iterations[ $nesting_level ] ) );
unset( $this->iterations[ $nesting_level ] );
unset( $this->current_priority[ $nesting_level ] );
$this->nesting_level--;
return $value;
}
/**
* Calls the callback functions that have been added to an action hook.
*
* @since 4.7.0
*
* @param array $args Parameters to pass to the callback functions.
Arguments
"/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
/www/erocket_573/public/releases/20231106232239/web/wp/wp-includes/plugin.php
$all_args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
_wp_call_all_hook( $all_args );
}
if ( ! isset( $wp_filter[ $hook_name ] ) ) {
if ( isset( $wp_filter['all'] ) ) {
array_pop( $wp_current_filter );
}
return $value;
}
if ( ! isset( $wp_filter['all'] ) ) {
$wp_current_filter[] = $hook_name;
}
// Pass the value to WP_Hook.
array_unshift( $args, $value );
$filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
array_pop( $wp_current_filter );
return $filtered;
}
/**
* Calls the callback functions that have been added to a filter hook, specifying arguments in an array.
*
* @since 3.0.0
*
* @see apply_filters() This function is identical, but the arguments passed to the
* functions hooked to `$hook_name` are supplied using an array.
*
* @global WP_Hook[] $wp_filter Stores all of the filters and actions.
* @global int[] $wp_filters Stores the number of times each filter was triggered.
* @global string[] $wp_current_filter Stores the list of current filters with the current one last.
*
* @param string $hook_name The name of the filter hook.
* @param array $args The arguments supplied to the functions hooked to `$hook_name`.
Arguments
"/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
array:1 [
0 => "/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
]
/www/erocket_573/public/releases/20231106232239/web/wp/wp-includes/template-loader.php
if ( 'is_attachment' === $tag ) {
remove_filter( 'the_content', 'prepend_attachment' );
}
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
"template_include"
"/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
/www/erocket_573/public/releases/20231106232239/web/wp/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/erocket_573/public/releases/20231106232239/web/wp/wp-includes/template-loader.php"
/www/erocket_573/public/releases/20231106232239/web/index.php
<?php
/**
* WordPress View Bootstrapper
*/
define('WP_USE_THEMES', true);
require __DIR__ . '/wp/wp-blog-header.php';
Arguments
"/www/erocket_573/public/releases/20231106232239/web/wp/wp-blog-header.php"