acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blackdev/domains/blackdesk.blackdesk.dev/public_html/wp-includes/functions.php on line 6170simple-custom-post-order domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blackdev/domains/blackdesk.blackdesk.dev/public_html/wp-includes/functions.php on line 6170wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blackdev/domains/blackdesk.blackdesk.dev/public_html/wp-includes/functions.php on line 6170 // which have been rendered for right exception messages to be generated. try { $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); } catch (ViewException $e) { if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) { throw $e; } if (! isset($this->compiledOrNotExpired[$path])) { throw $e; * * @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 section gets flushed out next time a view is created and // no old sections are staying around in the memory of an environment. $this->factory->decrementRender(); * @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<body <?php body_class(); ?>><?php wp_body_open(); ?> <?php do_action('get_header'); ?><div id="app"><?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?> </div><?php do_action('get_footer'); ?> <?php wp_footer(); ?> <?php if(function_exists('get_field') && $body_script = get_field('body_script', 'options')) : ?> * * @param string $template The path of the template about to be included. */ do_action( 'wp_before_include_template', $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';|
Error
|
|---|
Error:
Call to undefined function Illuminate\View\Engines\str()
at /home/blackdev/domains/blackdesk.blackdesk.dev/public_html/wp-content/themes/blackdesk/vendor/illuminate/view/Engines/CompilerEngine.php:72
at Illuminate\View\Engines\CompilerEngine->get()
(/home/blackdev/domains/blackdesk.blackdesk.dev/public_html/wp-content/themes/blackdesk/vendor/illuminate/view/View.php:195)
at Illuminate\View\View->getContents()
(/home/blackdev/domains/blackdesk.blackdesk.dev/public_html/wp-content/themes/blackdesk/vendor/illuminate/view/View.php:178)
at Illuminate\View\View->renderContents()
(/home/blackdev/domains/blackdesk.blackdesk.dev/public_html/wp-content/themes/blackdesk/vendor/illuminate/view/View.php:147)
at Illuminate\View\View->render()
(/home/blackdev/domains/blackdesk.blackdesk.dev/public_html/wp-content/themes/blackdesk/index.php:21)
at include('/home/blackdev/domains/blackdesk.blackdesk.dev/public_html/wp-content/themes/blackdesk/index.php')
(/home/blackdev/domains/blackdesk.blackdesk.dev/public_html/wp-includes/template-loader.php:132)
at require_once('/home/blackdev/domains/blackdesk.blackdesk.dev/public_html/wp-includes/template-loader.php')
(/home/blackdev/domains/blackdesk.blackdesk.dev/public_html/wp-blog-header.php:19)
at require('/home/blackdev/domains/blackdesk.blackdesk.dev/public_html/wp-blog-header.php')
(/home/blackdev/domains/blackdesk.blackdesk.dev/public_html/index.php:17)
|