ErrorException {#2307 #severity: E_WARNING }
<?php
});
add_action('get_header', function () {
// Enqueue dummy CSS file
wp_enqueue_style('dummy-styles', get_template_directory_uri() . '/public/css/dummy.css', [], filemtime(get_template_directory() . '/public/css/dummy.css'));
});
* @throws \ErrorException */ public function handleError($level, $message, $file = '', $line = 0, $context = []) { try { parent::handleError($level, $message, $file, $line, $context); } catch (Throwable $e) { if (! apply_filters('acorn/throw_error_exception', true, $e)) { return false; }<?php
});
add_action('get_header', function () {
// Enqueue dummy CSS file
wp_enqueue_style('dummy-styles', get_template_directory_uri() . '/public/css/dummy.css', [], filemtime(get_template_directory() . '/public/css/dummy.css'));
});
// 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 ] ) ); * * @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; } } 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 );}/** $extraBodyClasses = !$hasHeroOrSlideshow ? 'no-hero' : '';?><body <?php body_class($extraBodyClasses); ?>><?php wp_body_open(); ?> <?php do_action('get_header'); ?><div id="app"><?php echo view(app('sage.view'), app('sage.data'))->render(); ?> </div> * * @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';}<?php/** * WordPress View Bootstrapper */define('WP_USE_THEMES', true);require __DIR__ . '/wp/wp-blog-header.php';|
ErrorException
|
|---|
ErrorException:
filemtime(): stat failed for /var/www/dev.rovensa.blissapplications.com/web/app/themes/sage-theme/public/css/dummy.css
at /var/www/dev.rovensa.blissapplications.com/web/app/themes/sage-theme/functions.php:117
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
(/var/www/dev.rovensa.blissapplications.com/web/app/themes/sage-theme/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:49)
at Roots\Acorn\Bootstrap\HandleExceptions->handleError()
at filemtime()
(/var/www/dev.rovensa.blissapplications.com/web/app/themes/sage-theme/functions.php:117)
at {closure}()
(/var/www/dev.rovensa.blissapplications.com/web/wp/wp-includes/class-wp-hook.php:324)
at WP_Hook->apply_filters()
(/var/www/dev.rovensa.blissapplications.com/web/wp/wp-includes/class-wp-hook.php:348)
at WP_Hook->do_action()
(/var/www/dev.rovensa.blissapplications.com/web/wp/wp-includes/plugin.php:517)
at do_action()
(/var/www/dev.rovensa.blissapplications.com/web/app/themes/sage-theme/index.php:28)
at include('/var/www/dev.rovensa.blissapplications.com/web/app/themes/sage-theme/index.php')
(/var/www/dev.rovensa.blissapplications.com/web/wp/wp-includes/template-loader.php:106)
at require_once('/var/www/dev.rovensa.blissapplications.com/web/wp/wp-includes/template-loader.php')
(/var/www/dev.rovensa.blissapplications.com/web/wp/wp-blog-header.php:19)
at require('/var/www/dev.rovensa.blissapplications.com/web/wp/wp-blog-header.php')
(/var/www/dev.rovensa.blissapplications.com/web/index.php:6)
|