/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/app/View/Components/Elements/PhotoAlbum.php
public $galleryItems;
public $headline;
public $terms;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct( $fields )
{
$this->getLayoutType( $fields );
// if this is a post selection
if ( array_key_exists('fotoalbum_wahlen', $fields) ) {
$this->galleryIDs = $fields['fotoalbum_wahlen'];
foreach ($this->galleryIDs as $galleryID) {
$this->galleryItems[] = get_field( 'photo_album_gallery', $galleryID );
}
// $this->galleryItems = get_field( 'photo_album_gallery', $this->galleryID );
}
else {
$this->galleryItems = [];
}
// Headline
if ( array_key_exists('headline', $fields) ) {
$this->headline = $fields['headline'];
}
}
private function getLayoutType( $fields )
{
if ( array_key_exists('select_type', $fields) ) {
$this->type = $fields['select_type'];
Arguments
"foreach() argument must be of type array|object, int given (View: /usr/www/users/altrfi/wordpress/wp-content/cache/acorn/views/3868bf0253c0ae96ba404af5ae25b8b5c279eefe.blade.php) (View: /usr/www/users/altrfi/wordpress/wp-content/cache/acorn/views/3868bf0253c0ae96ba404af5ae25b8b5c279eefe.blade.php)"
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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();
}
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/app/View/Components/Elements/PhotoAlbum.php
public $galleryItems;
public $headline;
public $terms;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct( $fields )
{
$this->getLayoutType( $fields );
// if this is a post selection
if ( array_key_exists('fotoalbum_wahlen', $fields) ) {
$this->galleryIDs = $fields['fotoalbum_wahlen'];
foreach ($this->galleryIDs as $galleryID) {
$this->galleryItems[] = get_field( 'photo_album_gallery', $galleryID );
}
// $this->galleryItems = get_field( 'photo_album_gallery', $this->galleryID );
}
else {
$this->galleryItems = [];
}
// Headline
if ( array_key_exists('headline', $fields) ) {
$this->headline = $fields['headline'];
}
}
private function getLayoutType( $fields )
{
if ( array_key_exists('select_type', $fields) ) {
$this->type = $fields['select_type'];
Arguments
"foreach() argument must be of type array|object, int given (View: /usr/www/users/altrfi/wordpress/wp-content/cache/acorn/views/3868bf0253c0ae96ba404af5ae25b8b5c279eefe.blade.php)"
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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();
}
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/app/View/Components/Elements/PhotoAlbum.php
public $galleryItems;
public $headline;
public $terms;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct( $fields )
{
$this->getLayoutType( $fields );
// if this is a post selection
if ( array_key_exists('fotoalbum_wahlen', $fields) ) {
$this->galleryIDs = $fields['fotoalbum_wahlen'];
foreach ($this->galleryIDs as $galleryID) {
$this->galleryItems[] = get_field( 'photo_album_gallery', $galleryID );
}
// $this->galleryItems = get_field( 'photo_album_gallery', $this->galleryID );
}
else {
$this->galleryItems = [];
}
// Headline
if ( array_key_exists('headline', $fields) ) {
$this->headline = $fields['headline'];
}
}
private function getLayoutType( $fields )
{
if ( array_key_exists('select_type', $fields) ) {
$this->type = $fields['select_type'];
Arguments
"foreach() argument must be of type array|object, int given"
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/app/View/Components/Elements/PhotoAlbum.php
public $galleryItems;
public $headline;
public $terms;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct( $fields )
{
$this->getLayoutType( $fields );
// if this is a post selection
if ( array_key_exists('fotoalbum_wahlen', $fields) ) {
$this->galleryIDs = $fields['fotoalbum_wahlen'];
foreach ($this->galleryIDs as $galleryID) {
$this->galleryItems[] = get_field( 'photo_album_gallery', $galleryID );
}
// $this->galleryItems = get_field( 'photo_album_gallery', $this->galleryID );
}
else {
$this->galleryItems = [];
}
// Headline
if ( array_key_exists('headline', $fields) ) {
$this->headline = $fields['headline'];
}
}
private function getLayoutType( $fields )
{
if ( array_key_exists('select_type', $fields) ) {
$this->type = $fields['select_type'];
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/illuminate/container/Container.php
return new $concrete;
}
$dependencies = $constructor->getParameters();
// Once we have all the constructor's parameters we can create each of the
// dependency instances and then use the reflection instances to make a
// new instance of this class, injecting the created dependencies in.
try {
$instances = $this->resolveDependencies($dependencies);
} catch (BindingResolutionException $e) {
array_pop($this->buildStack);
throw $e;
}
array_pop($this->buildStack);
return $reflector->newInstanceArgs($instances);
}
/**
* Resolve all of the dependencies from the ReflectionParameters.
*
* @param \ReflectionParameter[] $dependencies
* @return array
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
protected function resolveDependencies(array $dependencies)
{
$results = [];
foreach ($dependencies as $dependency) {
// If the dependency has an override for this particular build we will use
// that instead as the value. Otherwise, we will continue with this run
// of resolutions and let reflection attempt to determine the result.
if ($this->hasParameterOverride($dependency)) {
$results[] = $this->getParameterOverride($dependency);
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/illuminate/container/Container.php
$needsContextualBuild = ! empty($parameters) || ! is_null($concrete);
// If an instance of the type is currently being managed as a singleton we'll
// just return an existing instance instead of instantiating new instances
// so the developer can keep using the same objects instance every time.
if (isset($this->instances[$abstract]) && ! $needsContextualBuild) {
return $this->instances[$abstract];
}
$this->with[] = $parameters;
if (is_null($concrete)) {
$concrete = $this->getConcrete($abstract);
}
// We're ready to instantiate an instance of the concrete type registered for
// the binding. This will instantiate the types, as well as resolve any of
// its "nested" dependencies recursively until all have gotten resolved.
if ($this->isBuildable($concrete, $abstract)) {
$object = $this->build($concrete);
} else {
$object = $this->make($concrete);
}
// If we defined any extenders for this type, we'll need to spin through them
// and apply them to the object being built. This allows for the extension
// of services, such as changing configuration or decorating the object.
foreach ($this->getExtenders($abstract) as $extender) {
$object = $extender($object, $this);
}
// If the requested type is registered as a singleton we'll want to cache off
// the instances in "memory" so we can return it later without creating an
// entirely new instance of an object on each subsequent request for it.
if ($this->isShared($abstract) && ! $needsContextualBuild) {
$this->instances[$abstract] = $object;
}
if ($raiseEvents) {
$this->fireResolvingCallbacks($abstract, $object);
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/roots/acorn/src/Illuminate/Foundation/Application.php
public function make($abstract, array $parameters = [])
{
$this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
return parent::make($abstract, $parameters);
}
/**
* Resolve the given type from the container.
*
* @param string $abstract
* @param array $parameters
* @param bool $raiseEvents
* @return mixed
*/
protected function resolve($abstract, $parameters = [], $raiseEvents = true)
{
$this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
return parent::resolve($abstract, $parameters, $raiseEvents);
}
/**
* Load the deferred provider if the given type is a deferred service and the instance has not been loaded.
*
* @param string $abstract
* @return void
*/
protected function loadDeferredProviderIfNeeded($abstract)
{
if ($this->isDeferredService($abstract) && ! isset($this->instances[$abstract])) {
$this->loadDeferredProvider($abstract);
}
}
/**
* Determine if the given abstract type has been bound.
*
* @param string $abstract
* @return bool
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/illuminate/container/Container.php
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function makeWith($abstract, array $parameters = [])
{
return $this->make($abstract, $parameters);
}
/**
* Resolve the given type from the container.
*
* @param string|callable $abstract
* @param array $parameters
* @return mixed
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function make($abstract, array $parameters = [])
{
return $this->resolve($abstract, $parameters);
}
/**
* {@inheritdoc}
*/
public function get($id)
{
try {
return $this->resolve($id);
} catch (Exception $e) {
if ($this->has($id) || $e instanceof CircularDependencyException) {
throw $e;
}
throw new EntryNotFoundException($id, $e->getCode(), $e);
}
}
/**
* Resolve the given type from the container.
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/roots/acorn/src/Illuminate/Foundation/Application.php
if (! $this->isBooted()) {
$this->booting(function () use ($instance) {
$this->bootProvider($instance);
});
}
}
/**
* Resolve the given type from the container.
*
* @param string $abstract
* @param array $parameters
* @return mixed
*/
public function make($abstract, array $parameters = [])
{
$this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
return parent::make($abstract, $parameters);
}
/**
* Resolve the given type from the container.
*
* @param string $abstract
* @param array $parameters
* @param bool $raiseEvents
* @return mixed
*/
protected function resolve($abstract, $parameters = [], $raiseEvents = true)
{
$this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
return parent::resolve($abstract, $parameters, $raiseEvents);
}
/**
* Load the deferred provider if the given type is a deferred service and the instance has not been loaded.
*
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/roots/acorn/src/Roots/Acorn/Application.php
/**
* Resolve the given type from the container.
*
* @param string $abstract
* @param array $parameters
* @return mixed
*/
public function make($abstract, array $parameters = [])
{
$abstract = $this->getAlias($abstract);
if (
! $this->bound($abstract) &&
$provider = $this->instances['app.lazy']->getProvider($abstract)
) {
$this->register($provider);
}
return parent::make($abstract, $parameters);
}
/**
* Boot the given service provider.
*
* @param \Illuminate\Support\ServiceProvider $provider
* @return void
*/
protected function bootProvider(ServiceProvider $provider)
{
try {
parent::bootProvider($provider);
} catch (Throwable $e) {
$this->skipProvider($provider, $e);
}
}
/**
* Skip booting service provider and log error.
*
/usr/www/users/altrfi/wordpress/wp-content/cache/acorn/views/c8a9959ab0dfcaffd46aaed85bf1d11df9c133d4.php
<?php extract(collect($attributes->getAttributes())->mapWithKeys(function ($value, $key) { return [Illuminate\Support\Str::camel(str_replace([':', '.'], ' ', $key)) => $value]; })->all(), EXTR_SKIP); ?>
<?php $attributes = $attributes->exceptProps(['fields']); ?>
<?php foreach (array_filter((['fields']), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
$$__key = $$__key ?? $__value;
} ?>
<?php $__defined_vars = get_defined_vars(); ?>
<?php foreach ($attributes as $__key => $__value) {
if (array_key_exists($__key, $__defined_vars)) unset($$__key);
} ?>
<?php unset($__defined_vars); ?>
<?php if (isset($component)) { $__componentOriginald992c1ca86ccadc2ec006ba36f458dcfdd119395 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\Elements\PhotoAlbum::class, ['fields' => $fields]); ?>
<?php $component->withName('elements.photo-album'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($attributes)]); ?>
<?php echo e($slot ?? ""); ?>
<?php if (isset($__componentOriginald992c1ca86ccadc2ec006ba36f458dcfdd119395)): ?>
<?php $component = $__componentOriginald992c1ca86ccadc2ec006ba36f458dcfdd119395; ?>
<?php unset($__componentOriginald992c1ca86ccadc2ec006ba36f458dcfdd119395); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?><?php /**PATH /usr/www/users/altrfi/wordpress/wp-content/cache/acorn/views/3868bf0253c0ae96ba404af5ae25b8b5c279eefe.blade.php ENDPATH**/ ?>
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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
"/usr/www/users/altrfi/wordpress/wp-content/cache/acorn/views/c8a9959ab0dfcaffd46aaed85bf1d11df9c133d4.php"
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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;
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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();
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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);
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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;
}
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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());
}
/**
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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 (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/illuminate/view/Concerns/ManagesComponents.php
/**
* Render the current component.
*
* @return string
*/
public function renderComponent()
{
$view = array_pop($this->componentStack);
$data = $this->componentData();
$view = value($view, $data);
if ($view instanceof View) {
return $view->with($data)->render();
} elseif ($view instanceof Htmlable) {
return $view->toHtml();
} else {
return $this->make($view, $data)->render();
}
}
/**
* Get the data for the given component.
*
* @return array
*/
protected function componentData()
{
$defaultSlot = new HtmlString(trim(ob_get_clean()));
$slots = array_merge([
'__default' => $defaultSlot,
], $this->slots[count($this->componentStack)]);
return array_merge(
$this->componentData[count($this->componentStack)],
['slot' => $defaultSlot],
$this->slots[count($this->componentStack)],
/usr/www/users/altrfi/wordpress/wp-content/cache/acorn/views/db6ad45fa05ea1a3db4b17c0cc91fb95c4036b0d.php
<?php if($name): ?>
<?php $name = 'elements.' . $name ?>
<?php if (isset($component)) { $__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\DynamicComponent::class, ['component' => $name]); ?>
<?php $component->withName('dynamic-component'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['fields' => $fields,'preview' => $preview]); ?>
<?php if (isset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9)): ?>
<?php $component = $__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9; ?>
<?php unset($__componentOriginal3bf0a20793be3eca9a779778cf74145887b021b9); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php endif; ?><?php /**PATH /usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/resources/views/components/_renderer.blade.php ENDPATH**/ ?>
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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
"/usr/www/users/altrfi/wordpress/wp-content/cache/acorn/views/db6ad45fa05ea1a3db4b17c0cc91fb95c4036b0d.php"
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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;
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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();
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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);
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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;
}
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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());
}
/**
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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 (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/illuminate/view/View.php
/**
* Get content as a string of HTML.
*
* @return string
*/
public function toHtml()
{
return $this->render();
}
/**
* Get the string contents of the view.
*
* @return string
*
* @throws \Throwable
*/
public function __toString()
{
return $this->render();
}
}
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/app/filters.php
/**
* Need to place these functions for PageElements here
* bc the 'Composer' wont render on backend
*/
add_filter('acfe/flexible/render/template/name=pageelements', function ($acfe_flexible_render_template, $field, $layout, $is_preview) {
// do_action( 'qm/debug', view('components._renderer', [ 'name' => 'text', 'fields' => [] ]) );
return get_stylesheet_directory() . '/../index.php';
}, 99, 4);
add_action('acfe/flexible/render/before_template/name=pageelements', function ($field, $layout, $is_preview) {
$values = [];
foreach ($layout['sub_fields'] as $field) {
$values[ $field['name'] ] = get_sub_field($field['name']);
}
$layoutName = str_replace('_', '-', $layout['name']);
echo view('components._renderer', [ 'name' => $layoutName, 'fields' => $values, 'preview' => $is_preview ]);
}, 10, 3);
// Change dashboard Posts to News
add_action( 'init', function() {
$get_post_type = get_post_type_object('post');
$labels = $get_post_type->labels;
$labels->name = 'Aktuelles';
$labels->singular_name = 'Aktuelles';
$labels->add_new = 'Hinzufügen';
$labels->add_new_item = 'Hinufügen';
$labels->edit_item = 'Bearbeiten';
$labels->new_item = 'Aktuelles';
$labels->view_item = 'Anzeigen';
$labels->search_items = 'Suchen';
$labels->not_found = 'Nichts gefunden';
$labels->not_found_in_trash = 'No Aktuelles found in Trash';
$labels->all_items = 'Alle';
$labels->menu_name = 'Aktuelles';
/usr/www/users/altrfi/wordpress/wp-includes/class-wp-hook.php
$this->iterations[ $nesting_level ] = $this->priorities;
$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, $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.
/usr/www/users/altrfi/wordpress/wp-includes/class-wp-hook.php
} 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.
*/
public function do_action( $args ) {
$this->doing_action = true;
$this->apply_filters( '', $args );
// If there are recursive calls to the current action, we haven't finished it until we get to the last one.
if ( ! $this->nesting_level ) {
$this->doing_action = false;
}
}
/**
* Processes the functions hooked into the 'all' hook.
*
* @since 4.7.0
*
* @param array $args Arguments to pass to the hook callbacks. Passed by reference.
*/
public function do_all_hook( &$args ) {
$nesting_level = $this->nesting_level++;
$this->iterations[ $nesting_level ] = $this->priorities;
do {
$priority = current( $this->iterations[ $nesting_level ] );
/usr/www/users/altrfi/wordpress/wp-includes/plugin.php
if ( ! isset( $wp_filter[ $hook_name ] ) ) {
if ( isset( $wp_filter['all'] ) ) {
array_pop( $wp_current_filter );
}
return;
}
if ( ! isset( $wp_filter['all'] ) ) {
$wp_current_filter[] = $hook_name;
}
if ( empty( $arg ) ) {
$arg[] = '';
} elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
// Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
$arg[0] = $arg[0][0];
}
$wp_filter[ $hook_name ]->do_action( $arg );
array_pop( $wp_current_filter );
}
/**
* Calls the callback functions that have been added to an action hook, specifying arguments in an array.
*
* @since 2.1.0
*
* @see do_action() 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_actions Stores the number of times each action 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 action to be executed.
* @param array $args The arguments supplied to the functions hooked to `$hook_name`.
*/
function do_action_ref_array( $hook_name, $args ) {
/usr/www/users/altrfi/wordpress/wp-content/plugins/acf-extended-pro/includes/acfe-template-functions.php
// File
$file = acf_maybe_get($layout, 'acfe_flexible_render_template');
// Filters
$file = apply_filters("acfe/flexible/render/template", $file, $field, $layout, $is_preview);
$file = apply_filters("acfe/flexible/render/template/name={$name}", $file, $field, $layout, $is_preview);
$file = apply_filters("acfe/flexible/render/template/key={$key}", $file, $field, $layout, $is_preview);
$file = apply_filters("acfe/flexible/render/template/layout={$l_name}", $file, $field, $layout, $is_preview);
$file = apply_filters("acfe/flexible/render/template/name={$name}&layout={$l_name}", $file, $field, $layout, $is_preview);
$file = apply_filters("acfe/flexible/render/template/key={$key}&layout={$l_name}", $file, $field, $layout, $is_preview);
// Deprecated
$file = apply_filters_deprecated("acfe/flexible/layout/render/template/layout={$l_name}", array($file, $field, $layout, $is_preview), '0.8.6.7', "acfe/flexible/render/template/layout={$l_name}");
$file = apply_filters_deprecated("acfe/flexible/layout/render/template/name={$name}&layout={$l_name}", array($file, $field, $layout, $is_preview), '0.8.6.7', "acfe/flexible/render/template/name={$name}&layout={$l_name}");
$file = apply_filters_deprecated("acfe/flexible/layout/render/template/key={$key}&layout={$l_name}", array($file, $field, $layout, $is_preview), '0.8.6.7', "acfe/flexible/render/template/key={$key}&layout={$l_name}");
// Before Template
do_action("acfe/flexible/render/before_template", $field, $layout, $is_preview);
do_action("acfe/flexible/render/before_template/name={$name}", $field, $layout, $is_preview);
do_action("acfe/flexible/render/before_template/key={$key}", $field, $layout, $is_preview);
do_action("acfe/flexible/render/before_template/layout={$l_name}", $field, $layout, $is_preview);
do_action("acfe/flexible/render/before_template/name={$name}&layout={$l_name}", $field, $layout, $is_preview);
do_action("acfe/flexible/render/before_template/key={$key}&layout={$l_name}", $field, $layout, $is_preview);
// Deprecated
do_action_deprecated("acfe/flexible/layout/render/before_template/layout={$l_name}", array($field, $layout, $is_preview), '0.8.6.7', "acfe/flexible/render/before_template/layout={$l_name}");
do_action_deprecated("acfe/flexible/layout/render/before_template/name={$name}&layout={$l_name}", array($field, $layout, $is_preview), '0.8.6.7', "acfe/flexible/render/before_template/name={$name}&layout={$l_name}");
do_action_deprecated("acfe/flexible/layout/render/before_template/key={$key}&layout={$l_name}", array($field, $layout, $is_preview), '0.8.6.7', "acfe/flexible/render/before_template/key={$key}&layout={$l_name}");
// Check file
if(!empty($file)){
$file_found = acfe_locate_file_path($file);
if(!empty($file_found)){
// Front-end
if(!$is_preview){
/usr/www/users/altrfi/wordpress/wp-content/plugins/acf-extended-pro/includes/acfe-template-functions.php
// Vars
if(!isset($is_preview)){
$is_preview = false;
}
$name = $field['_name'];
$key = $field['key'];
// Actions
do_action("acfe/flexible/enqueue", $field, $is_preview);
do_action("acfe/flexible/enqueue/name={$name}", $field, $is_preview);
do_action("acfe/flexible/enqueue/key={$key}", $field, $is_preview);
}
// Render: Enqueue
acfe_flexible_render_layout_enqueue($layout, $field);
// Render: Template
acfe_flexible_render_layout_template($layout, $field);
endwhile;
return ob_get_clean();
}
}
/**
* the_flexible
*
* Helper for the Flexible Content: Dynamic Render
*
* @param $selector
* @param false $post_id
*/
if(!function_exists('the_flexible')){
function the_flexible($selector, $post_id = false){
/usr/www/users/altrfi/wordpress/wp-content/plugins/acf-extended-pro/includes/acfe-template-functions.php
endwhile;
return ob_get_clean();
}
}
/**
* the_flexible
*
* Helper for the Flexible Content: Dynamic Render
*
* @param $selector
* @param false $post_id
*/
if(!function_exists('the_flexible')){
function the_flexible($selector, $post_id = false){
echo get_flexible($selector, $post_id);
}
}
/**
* has_flexible
*
* Helper for the Flexible Content: Dynamic Render
*
* @param $selector
* @param false $post_id
*
* @return bool
*/
if(!function_exists('has_flexible')){
function has_flexible($selector, $post_id = false){
return have_rows($selector, $post_id);
}
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/app/View/Composers/PageElements.php
return '';
}
$removeArrayElements = array_filter($classArray);
$arrayToString = implode(' ', $removeArrayElements);
$trimmed = trim($arrayToString);
if (!is_string($trimmed)) {
return '';
}
return $trimmed;
}
public function pageElementsContent() {
if(has_flexible('pageelements')):
ob_start();
the_flexible('pageelements');
$output_string = ob_get_contents();
ob_end_clean();
else :
$output_string = 'Keine Inhalte vorhanden';
endif;
return $output_string;
}
function html_attributes($attributes)
{
if(!$attributes) return '';
$compiled = join('="%s" ', array_keys($attributes)).' ="%s" ';
return rtrim(vsprintf($compiled, array_map('htmlspecialchars', array_values($attributes))));
}
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/app/View/Composers/PageElements.php
}
function html_attributes($attributes)
{
if(!$attributes) return '';
$compiled = join('="%s" ', array_keys($attributes)).' ="%s" ';
return rtrim(vsprintf($compiled, array_map('htmlspecialchars', array_values($attributes))));
}
/**
* Data to be passed to view before rendering.
*
* @return array
*/
public function with()
{
return [
'peContent' => $this->pageElementsContent()
];
}
}
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php
* @param View $view
* @return void
*/
public function compose(View $view)
{
$this->view = $view;
$this->data = new Fluent($view->getData());
$view->with($this->merge());
}
/**
* Data to be merged and passed to the view before rendering.
*
* @return array
*/
protected function merge()
{
return array_merge(
$this->with(),
$this->view->getData(),
$this->override()
);
}
/**
* Data to be passed to view before rendering
*
* @return array
*/
protected function with()
{
return [];
}
/**
* Data to be passed to view before rendering
*
* @return array
*/
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php
return static::$views;
}
$view = array_slice(explode('\\', static::class), 3);
$view = array_map([Str::class, 'snake'], $view, array_fill(0, count($view), '-'));
return implode('/', $view);
}
/**
* Compose the view before rendering.
*
* @param View $view
* @return void
*/
public function compose(View $view)
{
$this->view = $view;
$this->data = new Fluent($view->getData());
$view->with($this->merge());
}
/**
* Data to be merged and passed to the view before rendering.
*
* @return array
*/
protected function merge()
{
return array_merge(
$this->with(),
$this->view->getData(),
$this->override()
);
}
/**
* Data to be passed to view before rendering
*
* @return array
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/illuminate/view/Concerns/ManagesEvents.php
return $callback;
}
/**
* Build a class based container callback Closure.
*
* @param string $class
* @param string $prefix
* @return \Closure
*/
protected function buildClassEventCallback($class, $prefix)
{
[$class, $method] = $this->parseClassEvent($class, $prefix);
// Once we have the class and method name, we can build the Closure to resolve
// the instance out of the IoC container and call the method on it with the
// given arguments that are passed to the Closure as the composer's data.
return function () use ($class, $method) {
return $this->container->make($class)->{$method}(...func_get_args());
};
}
/**
* Parse a class based composer name.
*
* @param string $class
* @param string $prefix
* @return array
*/
protected function parseClassEvent($class, $prefix)
{
return Str::parseCallback($class, $this->classEventMethodForPrefix($prefix));
}
/**
* Determine the class event method based on the given prefix.
*
* @param string $prefix
* @return string
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/illuminate/events/Dispatcher.php
* @param \Closure|string $listener
* @param bool $wildcard
* @return \Closure
*/
public function makeListener($listener, $wildcard = false)
{
if (is_string($listener)) {
return $this->createClassListener($listener, $wildcard);
}
if (is_array($listener) && isset($listener[0]) && is_string($listener[0])) {
return $this->createClassListener($listener, $wildcard);
}
return function ($event, $payload) use ($listener, $wildcard) {
if ($wildcard) {
return $listener($event, $payload);
}
return $listener(...array_values($payload));
};
}
/**
* Create a class based listener using the IoC container.
*
* @param string $listener
* @param bool $wildcard
* @return \Closure
*/
public function createClassListener($listener, $wildcard = false)
{
return function ($event, $payload) use ($listener, $wildcard) {
if ($wildcard) {
return call_user_func($this->createClassCallable($listener), $event, $payload);
}
$callable = $this->createClassCallable($listener);
return $callable(...array_values($payload));
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/illuminate/events/Dispatcher.php
* @param bool $halt
* @return array|null
*/
public function dispatch($event, $payload = [], $halt = false)
{
// When the given "event" is actually an object we will assume it is an event
// object and use the class as the event name and this event itself as the
// payload to the handler, which makes object based events quite simple.
[$event, $payload] = $this->parseEventAndPayload(
$event, $payload
);
if ($this->shouldBroadcast($payload)) {
$this->broadcastEvent($payload[0]);
}
$responses = [];
foreach ($this->getListeners($event) as $listener) {
$response = $listener($event, $payload);
// If a response is returned from the listener and event halting is enabled
// we will just return this response, and not call the rest of the event
// listeners. Otherwise we will add the response on the response list.
if ($halt && ! is_null($response)) {
return $response;
}
// If a boolean false is returned from a listener, we will stop propagating
// the event to any further listeners down in the chain, else we keep on
// looping through the listeners and firing every one in our sequence.
if ($response === false) {
break;
}
$responses[] = $response;
}
return $halt ? null : $responses;
}
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/illuminate/view/Concerns/ManagesEvents.php
protected function addEventListener($name, $callback)
{
if (Str::contains($name, '*')) {
$callback = function ($name, array $data) use ($callback) {
return $callback($data[0]);
};
}
$this->events->listen($name, $callback);
}
/**
* Call the composer for a given view.
*
* @param \Illuminate\Contracts\View\View $view
* @return void
*/
public function callComposer(ViewContract $view)
{
$this->events->dispatch('composing: '.$view->name(), [$view]);
}
/**
* Call the creator for a given view.
*
* @param \Illuminate\Contracts\View\View $view
* @return void
*/
public function callCreator(ViewContract $view)
{
$this->events->dispatch('creating: '.$view->name(), [$view]);
}
}
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/vendor/illuminate/view/View.php
} catch (Throwable $e) {
$this->factory->flushState();
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());
}
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/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 (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/index.php
<?php
if ( is_user_logged_in() && current_user_can('administrator') ) {
#dump($_COOKIE);
} ?>
<!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">
<?php wp_head(); ?>
</head>
<body <?php body_class(''); ?>>
<?php wp_body_open(); ?>
<div class="d-flex flex-column h-100">
<?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
</div>
<?php wp_footer(); ?>
</body>
</html>
/usr/www/users/altrfi/wordpress/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
"/usr/www/users/altrfi/wordpress/wp-content/themes/altfordfreundesage10/index.php"
/usr/www/users/altrfi/wordpress/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
"/usr/www/users/altrfi/wordpress/wp-includes/template-loader.php"
/usr/www/users/altrfi/wordpress/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
"/usr/www/users/altrfi/wordpress/wp-blog-header.php"