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 view(app('sage.view'), app('sage.data'))->render(); ?>
</div>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
</body>
*
* @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';
Error
|
---|
Error: Call to undefined function Illuminate\View\Engines\str() at /home/hzjjsmp/www/wp-content/themes/surface/vendor/illuminate/view/Engines/CompilerEngine.php:73 at Illuminate\View\Engines\CompilerEngine->get('/home/hzjjsmp/www/wp-content/themes/surface/resources/views/page.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'post' => object(WP_Post), 'siteName' => 'Surface', 'flexibleContent' => array(array('acf_fc_layout' => 'text_slider_main', 'left_text_slider' => '<p>Surface, un atelier de création de céramiques et tissages basé en Bretagne, Finistère. Une collection de pièces uniques façonnées à la main : luminaires, tissages conçus en petite série.</p>', 'right_slider' => array(array('right_slider_item' => array('ID' => 796, 'id' => 796, 'title' => 'surface_lirette_vert_bleu_metier_tisser_cecile_pondard', 'filename' => 'surface_lirette_vert_bleu_metier_tisser_cecile_pondard.jpg', 'filesize' => 222472, 'url' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_metier_tisser_cecile_pondard.jpg', 'link' => 'https://surface-design.studio/surface-ceramiques-et-tissages/surface_lirette_vert_bleu_metier_tisser_cecile_pondard/', 'alt' => '', 'author' => '2', 'description' => '', 'caption' => '', 'name' => 'surface_lirette_vert_bleu_metier_tisser_cecile_pondard', 'status' => 'inherit', 'uploaded_to' => 25, 'date' => '2024-04-24 13:38:47', 'modified' => '2024-07-10 15:38:11', 'menu_order' => 0, 'mime_type' => 'image/jpeg', 'type' => 'image', 'subtype' => 'jpeg', 'icon' => 'https://surface-design.studio/wp-includes/images/media/default.png', 'width' => 960, 'height' => 1280, 'sizes' => array('thumbnail' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_metier_tisser_cecile_pondard-150x150.jpg', 'thumbnail-width' => 150, 'thumbnail-height' => 150, 'medium' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_metier_tisser_cecile_pondard-225x300.jpg', 'medium-width' => 225, 'medium-height' => 300, 'medium_large' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_metier_tisser_cecile_pondard-768x1024.jpg', 'medium_large-width' => 768, 'medium_large-height' => 1024, 'large' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_metier_tisser_cecile_pondard-768x1024.jpg', 'large-width' => 768, 'large-height' => 1024, '1536x1536' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_metier_tisser_cecile_pondard.jpg', '1536x1536-width' => 960, '1536x1536-height' => 1280, '2048x2048' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_metier_tisser_cecile_pondard.jpg', '2048x2048-width' => 960, '2048x2048-height' => 1280, 'woocommerce_thumbnail' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_metier_tisser_cecile_pondard-300x300.jpg', 'woocommerce_thumbnail-width' => 300, 'woocommerce_thumbnail-height' => 300, 'woocommerce_single' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_metier_tisser_cecile_pondard-600x800.jpg', 'woocommerce_single-width' => 600, 'woocommerce_single-height' => 800, 'woocommerce_gallery_thumbnail' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_metier_tisser_cecile_pondard-100x100.jpg', 'woocommerce_gallery_thumbnail-width' => 100, 'woocommerce_gallery_thumbnail-height' => 100))))), array('acf_fc_layout' => 'slider_text', 'title' => 'Luminaires', 'title_link' => 'https://surface-design.studio/luminaires', 'left_slider' => array(array('left_slider_item' => array('ID' => 408, 'id' => 408, 'title' => 'surface_pondard_lampe_rif_solo_4-3', 'filename' => 'surface_pondard_lampe_rif_solo_4-3.jpg', 'filesize' => 448211, 'url' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_solo_4-3.jpg', 'link' => 'https://surface-design.studio/surface-ceramiques-et-tissages/surface_pondard_lampe_rif_solo_4-3/', 'alt' => '', 'author' => '2', 'description' => '', 'caption' => '', 'name' => 'surface_pondard_lampe_rif_solo_4-3', 'status' => 'inherit', 'uploaded_to' => 25, 'date' => '2023-10-30 18:55:16', 'modified' => '2023-10-30 18:55:16', 'menu_order' => 0, 'mime_type' => 'image/jpeg', 'type' => 'image', 'subtype' => 'jpeg', 'icon' => 'https://surface-design.studio/wp-includes/images/media/default.png', 'width' => 1280, 'height' => 1707, 'sizes' => array('thumbnail' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_solo_4-3-150x150.jpg', 'thumbnail-width' => 150, 'thumbnail-height' => 150, 'medium' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_solo_4-3-225x300.jpg', 'medium-width' => 225, 'medium-height' => 300, 'medium_large' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_solo_4-3-768x1024.jpg', 'medium_large-width' => 768, 'medium_large-height' => 1024, 'large' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_solo_4-3-768x1024.jpg', 'large-width' => 768, 'large-height' => 1024, '1536x1536' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_solo_4-3-1152x1536.jpg', '1536x1536-width' => 1152, '1536x1536-height' => 1536, '2048x2048' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_solo_4-3.jpg', '2048x2048-width' => 1280, '2048x2048-height' => 1707, 'woocommerce_thumbnail' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_solo_4-3-300x300.jpg', 'woocommerce_thumbnail-width' => 300, 'woocommerce_thumbnail-height' => 300, 'woocommerce_single' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_solo_4-3-600x800.jpg', 'woocommerce_single-width' => 600, 'woocommerce_single-height' => 800, 'woocommerce_gallery_thumbnail' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_solo_4-3-100x100.jpg', 'woocommerce_gallery_thumbnail-width' => 100, 'woocommerce_gallery_thumbnail-height' => 100))), array('left_slider_item' => array('ID' => 423, 'id' => 423, 'title' => 'surface_pondard_lampe_rif_duo_4-3', 'filename' => 'surface_pondard_lampe_rif_duo_4-3.jpg', 'filesize' => 194327, 'url' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_duo_4-3.jpg', 'link' => 'https://surface-design.studio/surface-ceramiques-et-tissages/surface_pondard_lampe_rif_duo_4-3/', 'alt' => '', 'author' => '2', 'description' => '', 'caption' => '', 'name' => 'surface_pondard_lampe_rif_duo_4-3', 'status' => 'inherit', 'uploaded_to' => 25, 'date' => '2023-10-31 11:59:52', 'modified' => '2023-10-31 11:59:52', 'menu_order' => 0, 'mime_type' => 'image/jpeg', 'type' => 'image', 'subtype' => 'jpeg', 'icon' => 'https://surface-design.studio/wp-includes/images/media/default.png', 'width' => 1215, 'height' => 1620, 'sizes' => array('thumbnail' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_duo_4-3-150x150.jpg', 'thumbnail-width' => 150, 'thumbnail-height' => 150, 'medium' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_duo_4-3-225x300.jpg', 'medium-width' => 225, 'medium-height' => 300, 'medium_large' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_duo_4-3-768x1024.jpg', 'medium_large-width' => 768, 'medium_large-height' => 1024, 'large' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_duo_4-3-768x1024.jpg', 'large-width' => 768, 'large-height' => 1024, '1536x1536' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_duo_4-3-1152x1536.jpg', '1536x1536-width' => 1152, '1536x1536-height' => 1536, '2048x2048' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_duo_4-3.jpg', '2048x2048-width' => 1215, '2048x2048-height' => 1620, 'woocommerce_thumbnail' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_duo_4-3-300x300.jpg', 'woocommerce_thumbnail-width' => 300, 'woocommerce_thumbnail-height' => 300, 'woocommerce_single' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_duo_4-3-600x800.jpg', 'woocommerce_single-width' => 600, 'woocommerce_single-height' => 800, 'woocommerce_gallery_thumbnail' => 'https://surface-design.studio/wp-content/uploads/2023/10/surface_pondard_lampe_rif_duo_4-3-100x100.jpg', 'woocommerce_gallery_thumbnail-width' => 100, 'woocommerce_gallery_thumbnail-height' => 100))), array('left_slider_item' => array('ID' => 426, 'id' => 426, 'title' => 'surface_pondard_lampe_figue_blanche', 'filename' => 'surface_pondard_lampe_figue_blanche.jpg', 'filesize' => 213256, 'url' => 'https://surface-design.studio/wp-content/uploads/2023/06/surface_pondard_lampe_figue_blanche.jpg', 'link' => 'https://surface-design.studio/?attachment_id=426', 'alt' => '', 'author' => '2', 'description' => '', 'caption' => '', 'name' => 'surface_pondard_lampe_figue_blanche', 'status' => 'inherit', 'uploaded_to' => 133, 'date' => '2023-10-31 13:39:22', 'modified' => '2023-10-31 13:39:22', 'menu_order' => 0, 'mime_type' => 'image/jpeg', 'type' => 'image', 'subtype' => 'jpeg', 'icon' => 'https://surface-design.studio/wp-includes/images/media/default.png', 'width' => 1280, 'height' => 1707, 'sizes' => array('thumbnail' => 'https://surface-design.studio/wp-content/uploads/2023/06/surface_pondard_lampe_figue_blanche-150x150.jpg', 'thumbnail-width' => 150, 'thumbnail-height' => 150, 'medium' => 'https://surface-design.studio/wp-content/uploads/2023/06/surface_pondard_lampe_figue_blanche-225x300.jpg', 'medium-width' => 225, 'medium-height' => 300, 'medium_large' => 'https://surface-design.studio/wp-content/uploads/2023/06/surface_pondard_lampe_figue_blanche-768x1024.jpg', 'medium_large-width' => 768, 'medium_large-height' => 1024, 'large' => 'https://surface-design.studio/wp-content/uploads/2023/06/surface_pondard_lampe_figue_blanche-768x1024.jpg', 'large-width' => 768, 'large-height' => 1024, '1536x1536' => 'https://surface-design.studio/wp-content/uploads/2023/06/surface_pondard_lampe_figue_blanche-1152x1536.jpg', '1536x1536-width' => 1152, '1536x1536-height' => 1536, '2048x2048' => 'https://surface-design.studio/wp-content/uploads/2023/06/surface_pondard_lampe_figue_blanche.jpg', '2048x2048-width' => 1280, '2048x2048-height' => 1707, 'woocommerce_thumbnail' => 'https://surface-design.studio/wp-content/uploads/2023/06/surface_pondard_lampe_figue_blanche-300x300.jpg', 'woocommerce_thumbnail-width' => 300, 'woocommerce_thumbnail-height' => 300, 'woocommerce_single' => 'https://surface-design.studio/wp-content/uploads/2023/06/surface_pondard_lampe_figue_blanche-600x800.jpg', 'woocommerce_single-width' => 600, 'woocommerce_single-height' => 800, 'woocommerce_gallery_thumbnail' => 'https://surface-design.studio/wp-content/uploads/2023/06/surface_pondard_lampe_figue_blanche-100x100.jpg', 'woocommerce_gallery_thumbnail-width' => 100, 'woocommerce_gallery_thumbnail-height' => 100)))), 'right_text_slider' => '<p>Une collection de luminaires façonnés à la main.</p><p> </p><p>Des objets du quotidien lumineux et chaleureux.</p><p>De la lampe de sol à la lampe de table.</p><p> </p>', 'circle_text' => 'VOIR L\'ESHOP 〰️', 'circle_url' => 'https://surface-design.studio/luminaires/', 'more_info' => '', 'color_class' => 'orange'), array('acf_fc_layout' => 'text_slider', 'title' => 'Tissages', 'title_link' => 'https://surface-design.studio/tissages', 'left_text_slider' => '<p>Des pièces uniques tissées à la main.<br />Du textile fonctionnel à l’habillage mural.</p>', 'circle_text' => 'VOIR L\'ESHOP 〰️', 'circle_url' => 'https://surface-design.studio/tissages/', 'right_slider' => array(array('right_slider_item' => false), array('right_slider_item' => array('ID' => 793, 'id' => 793, 'title' => 'surface_lirette_vert_bleu_detail_cecile_pondard_02', 'filename' => 'surface_lirette_vert_bleu_detail_cecile_pondard_02.jpg', 'filesize' => 210546, 'url' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_detail_cecile_pondard_02.jpg', 'link' => 'https://surface-design.studio/surface-ceramiques-et-tissages/surface_lirette_vert_bleu_detail_cecile_pondard_02/', 'alt' => '', 'author' => '2', 'description' => '', 'caption' => '', 'name' => 'surface_lirette_vert_bleu_detail_cecile_pondard_02', 'status' => 'inherit', 'uploaded_to' => 25, 'date' => '2024-04-24 13:38:10', 'modified' => '2024-07-10 15:24:20', 'menu_order' => 0, 'mime_type' => 'image/jpeg', 'type' => 'image', 'subtype' => 'jpeg', 'icon' => 'https://surface-design.studio/wp-includes/images/media/default.png', 'width' => 960, 'height' => 1280, 'sizes' => array('thumbnail' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_detail_cecile_pondard_02-150x150.jpg', 'thumbnail-width' => 150, 'thumbnail-height' => 150, 'medium' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_detail_cecile_pondard_02-225x300.jpg', 'medium-width' => 225, 'medium-height' => 300, 'medium_large' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_detail_cecile_pondard_02-768x1024.jpg', 'medium_large-width' => 768, 'medium_large-height' => 1024, 'large' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_detail_cecile_pondard_02-768x1024.jpg', 'large-width' => 768, 'large-height' => 1024, '1536x1536' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_detail_cecile_pondard_02.jpg', '1536x1536-width' => 960, '1536x1536-height' => 1280, '2048x2048' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_detail_cecile_pondard_02.jpg', '2048x2048-width' => 960, '2048x2048-height' => 1280, 'woocommerce_thumbnail' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_detail_cecile_pondard_02-300x300.jpg', 'woocommerce_thumbnail-width' => 300, 'woocommerce_thumbnail-height' => 300, 'woocommerce_single' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_detail_cecile_pondard_02-600x800.jpg', 'woocommerce_single-width' => 600, 'woocommerce_single-height' => 800, 'woocommerce_gallery_thumbnail' => 'https://surface-design.studio/wp-content/uploads/2024/04/surface_lirette_vert_bleu_detail_cecile_pondard_02-100x100.jpg', 'woocommerce_gallery_thumbnail-width' => 100, 'woocommerce_gallery_thumbnail-height' => 100)))), 'color_class' => 'pink'), array('acf_fc_layout' => 'instagram', 'title' => 'Instagram', 'title_link' => 'https://www.instagram.com/surfacedesign.studio/', 'instagram_feed' => '<div id="__tagembed__shortCode" class="__tagembed__copyvalue"><span class=""></span><div style="width:; height:;overflow: auto;" class="tagembed-container"><div style="width:100%; height:100%;" class="tagembed-socialwall tagembed-analystic" data-wall-id="127057"></div></div></div>')))) (/home/hzjjsmp/www/wp-content/themes/surface/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/home/hzjjsmp/www/wp-content/themes/surface/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/home/hzjjsmp/www/wp-content/themes/surface/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/home/hzjjsmp/www/wp-content/themes/surface/index.php:57) at include('/home/hzjjsmp/www/wp-content/themes/surface/index.php') (/home/hzjjsmp/www/wp-includes/template-loader.php:106) at require_once('/home/hzjjsmp/www/wp-includes/template-loader.php') (/home/hzjjsmp/www/wp-blog-header.php:19) at require('/home/hzjjsmp/www/wp-blog-header.php') (/home/hzjjsmp/www/index.php:17) |