curl_setopt($ch, CURLOPT_VERBOSE, TRUE);
$content = curl_exec($ch);
$response_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
header("X-Robots-Tag: noindex, nofollow");
if($response_code == 200) {
header("location: ".$url);
} else {
$url = "https://img.youtube.com/vi/".$vid_id."/hqdefault.jpg";
// 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 (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
}
// 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;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// 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();
* @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
<?php echo Loop::content(); ?>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.main', ['bodyClass' => 'front-page', 'headerClass' => 'header-home'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/resources/views/templates/front-page.blade.php ENDPATH**/ ?>
*
* @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() );
}
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
curl_setopt($ch, CURLOPT_VERBOSE, TRUE);
$content = curl_exec($ch);
$response_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
header("X-Robots-Tag: noindex, nofollow");
if($response_code == 200) {
header("location: ".$url);
} else {
$url = "https://img.youtube.com/vi/".$vid_id."/hqdefault.jpg";
// 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 (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
}
// 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;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// 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();
* @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
<?php
if (!empty($_GET['yt_thumbnail'])): // start if yt
?>
<?php echo $__env->make('layouts.partials.imgview', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php
die();
endif; // endif yt
?>
// 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 (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
// 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;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// 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();
* @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
<?php echo Loop::content(); ?>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.main', ['bodyClass' => 'front-page', 'headerClass' => 'header-home'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/resources/views/templates/front-page.blade.php ENDPATH**/ ?>
*
* @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() );
}
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
curl_setopt($ch, CURLOPT_VERBOSE, TRUE);
$content = curl_exec($ch);
$response_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
header("X-Robots-Tag: noindex, nofollow");
if($response_code == 200) {
header("location: ".$url);
} else {
$url = "https://img.youtube.com/vi/".$vid_id."/hqdefault.jpg";
* @return void
* @throws ErrorException|FatalError
*/
public function handleError(int $level, string $message, string $file, int $line) {
if (!$this->shouldIgnoreError($level, $file, $line) && error_reporting() && $level) {
$exception = $this->errorToException($level, $message, $file, $line);
if($this->app->isDebugDisplayed()) {
throw $exception;
} else {
$this->report($exception);
}
* @param int $line
*
* @throws \ErrorException|\Symfony\Component\ErrorHandler\Error\FatalError
*/
protected function handleError(int $level, string $message, string $file, int $line) {
$this->resolveExceptionHandler()->handleError($level, $message, $file, $line);
}
}
* @return void
*/
protected function registerErrorHandling() {
set_error_handler(function ($level, $message, $file = '', $line = 0) {
if (error_reporting() & $level) {
$this->handleError($level, $message, $file, $line);
}
});
set_exception_handler(function ($e) {
$this->handleException($e);
curl_setopt($ch, CURLOPT_VERBOSE, TRUE);
$content = curl_exec($ch);
$response_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
header("X-Robots-Tag: noindex, nofollow");
if($response_code == 200) {
header("location: ".$url);
} else {
$url = "https://img.youtube.com/vi/".$vid_id."/hqdefault.jpg";
// 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 (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
// 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;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// 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();
* @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
<?php
if (!empty($_GET['yt_thumbnail'])): // start if yt
?>
<?php echo $__env->make('layouts.partials.imgview', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php
die();
endif; // endif yt
?>
// 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 (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
// 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;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// 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();
* @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
<?php echo Loop::content(); ?>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.main', ['bodyClass' => 'front-page', 'headerClass' => 'header-home'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/resources/views/templates/front-page.blade.php ENDPATH**/ ?>
*
* @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() );
}
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
[3/3]
ViewException
|
---|
Illuminate\View\ViewException: Cannot modify header information - headers already sent by (output started at /usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/0dcd0f84e46bd9cab47cfef6b2d8edf676d38669.php:4) (View: /usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/resources/views/layouts/partials/imgview.blade.php) (View: /usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/resources/views/layouts/partials/imgview.blade.php) at /usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/bc758c743a620ada18035b727e0453188e482a2a.php:25 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/Engines/PhpEngine.php:43) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/Engines/CompilerEngine.php:57) at Illuminate\View\Engines\CompilerEngine->get() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/0dcd0f84e46bd9cab47cfef6b2d8edf676d38669.php:12) at include('/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/0dcd0f84e46bd9cab47cfef6b2d8edf676d38669.php') (/usr/www/users/bpdpd/best-practice-day.com.br/wp-includes/template-loader.php:106) at require_once('/usr/www/users/bpdpd/best-practice-day.com.br/wp-includes/template-loader.php') (/usr/www/users/bpdpd/best-practice-day.com.br/wp-blog-header.php:19) at require('/usr/www/users/bpdpd/best-practice-day.com.br/wp-blog-header.php') (/usr/www/users/bpdpd/best-practice-day.com.br/index.php:17) |
[2/3]
ViewException
|
---|
Illuminate\View\ViewException: Cannot modify header information - headers already sent by (output started at /usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/0dcd0f84e46bd9cab47cfef6b2d8edf676d38669.php:4) (View: /usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/resources/views/layouts/partials/imgview.blade.php) at /usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/bc758c743a620ada18035b727e0453188e482a2a.php:25 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/Engines/PhpEngine.php:43) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/Engines/CompilerEngine.php:57) at Illuminate\View\Engines\CompilerEngine->get() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/4df7ca7f31ea47836af90346565a0a5e8c0cfecc.php:4) at include('/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/4df7ca7f31ea47836af90346565a0a5e8c0cfecc.php') (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/Engines/PhpEngine.php:41) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/Engines/CompilerEngine.php:57) at Illuminate\View\Engines\CompilerEngine->get() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/0dcd0f84e46bd9cab47cfef6b2d8edf676d38669.php:12) at include('/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/0dcd0f84e46bd9cab47cfef6b2d8edf676d38669.php') (/usr/www/users/bpdpd/best-practice-day.com.br/wp-includes/template-loader.php:106) at require_once('/usr/www/users/bpdpd/best-practice-day.com.br/wp-includes/template-loader.php') (/usr/www/users/bpdpd/best-practice-day.com.br/wp-blog-header.php:19) at require('/usr/www/users/bpdpd/best-practice-day.com.br/wp-blog-header.php') (/usr/www/users/bpdpd/best-practice-day.com.br/index.php:17) |
[1/3]
ErrorException
|
---|
ErrorException: Cannot modify header information - headers already sent by (output started at /usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/0dcd0f84e46bd9cab47cfef6b2d8edf676d38669.php:4) at /usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/bc758c743a620ada18035b727e0453188e482a2a.php:25 at Gutenstart\Core\Exceptions\Handler->errorToException() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/guten-start/core/src/Exceptions/Handler.php:214) at Gutenstart\Core\Exceptions\Handler->handleError() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/guten-start/core/src/Concerns/Application/RegistersExceptionHandlers.php:121) at Gutenstart\Core\Application->handleError() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/guten-start/core/src/Concerns/Application/RegistersExceptionHandlers.php:39) at Gutenstart\Core\Application->Gutenstart\Core\Concerns\Application\{closure}() at header() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/bc758c743a620ada18035b727e0453188e482a2a.php:25) at include('/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/bc758c743a620ada18035b727e0453188e482a2a.php') (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/Engines/PhpEngine.php:41) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/Engines/CompilerEngine.php:57) at Illuminate\View\Engines\CompilerEngine->get() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/4df7ca7f31ea47836af90346565a0a5e8c0cfecc.php:4) at include('/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/4df7ca7f31ea47836af90346565a0a5e8c0cfecc.php') (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/Engines/PhpEngine.php:41) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/Engines/CompilerEngine.php:57) at Illuminate\View\Engines\CompilerEngine->get() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/0dcd0f84e46bd9cab47cfef6b2d8edf676d38669.php:12) at include('/usr/www/users/bpdpd/best-practice-day.com.br/wp-content/themes/staufen/storage/framework/views/0dcd0f84e46bd9cab47cfef6b2d8edf676d38669.php') (/usr/www/users/bpdpd/best-practice-day.com.br/wp-includes/template-loader.php:106) at require_once('/usr/www/users/bpdpd/best-practice-day.com.br/wp-includes/template-loader.php') (/usr/www/users/bpdpd/best-practice-day.com.br/wp-blog-header.php:19) at require('/usr/www/users/bpdpd/best-practice-day.com.br/wp-blog-header.php') (/usr/www/users/bpdpd/best-practice-day.com.br/index.php:17) |