Erreur 500 - Internal Server Error

Foliolabs\Library\ExceptionError | Notice [500]

Trying to access array offset on value of type bool
.../wp-content/plugins/post-grid-carousel-ultimate-pro/classes/grid/grid-theme/theme-15.php:29
24                             <figure class="pgcu_post__image">
25                                 <?php if($image_resize_crop !== "no") {
26                                  $image_ups = ( $image_ups !== "no") ? true : false;
27                                  $image_width      = !empty($image_width) ? $image_width : 300;
28                                  $image_hight       = !empty($image_hight) ? $image_hight : 290;
29                                  $img = aq_resize($im[0], $image_width, $image_hight,true,true, $image_ups);
30                             ?>
31                                 <a href="<?php the_permalink();?>">
32                                     <img src="<?php echo $img;?>" alt="">
33                                 </a>
34                                 <?php

include()

.../wp-content/plugins/post-grid-carousel-ultimate-pro/classes/adl-gc-shortcode.php:257
252 				    }elseif($g_theme == 'theme_14') {
253 				    	include(plugin_dir_path( __FILE__ ).'styles/grid/g_style14.php');
254 				        include(plugin_dir_path( __FILE__ ).'grid/grid-theme/theme-14.php');
255 				    }elseif($g_theme == 'theme_15') {
256 				    	include(plugin_dir_path( __FILE__ ).'styles/grid/g_style15.php');
257 				        include(plugin_dir_path( __FILE__ ).'grid/grid-theme/theme-15.php');
258 				    }elseif($g_theme == 'theme_16') {
259 				    	include(plugin_dir_path( __FILE__ ).'styles/grid/g_style16.php');
260 				        include(plugin_dir_path( __FILE__ ).'grid/grid-theme/theme-16.php');
261 				    }elseif($g_theme == 'theme_17') {
262 				    	include(plugin_dir_path( __FILE__ ).'styles/grid/g_style17.php');

Arguments

0
string(105) "/home/capestl/www/wp-content/plugins/post-grid-carousel-ultimate-pro/classes/grid/grid-theme/theme-15.php"

adl_gc_shortcode->shortcode_for_post_grid_carousel()

.../wp-includes/shortcodes.php:381
376 		return $return;
377 	}
378 
379 	$content = isset( $m[5] ) ? $m[5] : null;
380 
381 	$output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
382 
383 	/**
384 	 * Filters the output created by a shortcode callback.
385 	 *
386 	 * @since 4.7.0

Arguments

atts
array (1)   id => string(3) "860"
content
string(0) ""
2
string(18) "post_grid_carousel"
{PHP internal call}

preg_replace_callback()

.../wp-includes/shortcodes.php:256
251 	}
252 
253 	$content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
254 
255 	$pattern = get_shortcode_regex( $tagnames );
256 	$content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
257 
258 	// Always restore square braces so we don't break things like <!--[if IE ]>.
259 	$content = unescape_invalid_shortcodes( $content );
260 
261 	return $content;

Arguments

regex
string(135) "/\[(\[?)(post_grid_carousel)(?![\w-])([^\]\/]*(?:\/(?!\])[^\]\/]*)*?)(?:(\/)\]|\](?:([^\[]*+(?:\[(?!\/\2\])[^\[]*+)*+)\[\/\2\])? …"
callback
string(16) "do_shortcode_tag"
subject
string(478) "
<h2>Direction de la Commande publique et des affaires juridiques</h2>



<ul><li><strong>Commande publique :</strong> 0590 …"

do_shortcode()

.../wp-includes/class-wp-hook.php:292
287 
288 				// Avoid the array_slice() if possible.
289 				if ( 0 == $the_['accepted_args'] ) {
290 					$value = call_user_func( $the_['function'] );
291 				} elseif ( $the_['accepted_args'] >= $num_args ) {
292 					$value = call_user_func_array( $the_['function'], $args );
293 				} else {
294 					$value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int) $the_['accepted_args'] ) );
295 				}
296 			}
297 		} while ( false !== next( $this->iterations[ $nesting_level ] ) );

Arguments

content
string(478) "
<h2>Direction de la Commande publique et des affaires juridiques</h2>



<ul><li><strong>Commande publique :</strong> 0590 …"

WP_Hook->apply_filters()

.../wp-includes/plugin.php:212
207 	}
208 
209 	// Don't pass the tag name to WP_Hook.
210 	array_shift( $args );
211 
212 	$filtered = $wp_filter[ $tag ]->apply_filters( $value, $args );
213 
214 	array_pop( $wp_current_filter );
215 
216 	return $filtered;
217 }

Arguments

value
string(478) "
<h2>Direction de la Commande publique et des affaires juridiques</h2>



<ul><li><strong>Commande publique :</strong> 0590 …"
args
array (1)   0 => string(478) "
<h2>Direction de la Commande publique et des affaires juridiques</h2>



<ul><li><strong>Commande publique :</strong> 0590 …"

apply_filters()

.../wp-includes/post-template.php:253
248 	 *
249 	 * @since 0.71
250 	 *
251 	 * @param string $content Content of the current post.
252 	 */
253 	$content = apply_filters( 'the_content', $content );
254 	$content = str_replace( ']]>', ']]>', $content );
255 	echo $content;
256 }
257 
258 /**

Arguments

tag
string(11) "the_content"
value
string(680) "<!-- wp:heading -->
<h2>Direction de la Commande publique et des affaires juridiques</h2>
<!-- /wp:heading -->

<!-- wp:list --> …"

the_content()

.../wp-content/themes/identiz/template-parts/page/content-page.php:24
19 			) );
20 		?>
21 	</header><!-- .entry-header -->
22 
23 	<div class="entry-content">
24 		<?php the_content(); ?>
25 		<?php wp_link_pages( array(
26 				'before'      => '<div class="page-links"><span class="page-links__title">' . esc_html__( 'Pages:', 'identiz' ) . '</span>',
27 				'after'       => '</div>',
28 				'link_before' => '<span class="page-links__item">',
29 				'link_after'  => '</span>',

require()

.../wp-includes/template.php:732
727 	}
728 
729 	if ( $require_once ) {
730 		require_once $_template_file;
731 	} else {
732 		require $_template_file;
733 	}
734 }

Arguments

0
string(80) "/home/capestl/www/wp-content/themes/identiz/template-parts/page/content-page.php"

load_template()

.../wp-includes/template.php:676
671 			break;
672 		}
673 	}
674 
675 	if ( $load && '' !== $located ) {
676 		load_template( $located, $require_once, $args );
677 	}
678 
679 	return $located;
680 }
681 

Arguments

_template_file
string(80) "/home/capestl/www/wp-content/themes/identiz/template-parts/page/content-page.php"
require_once
bool FALSE
args
array ()

locate_template()

.../wp-includes/general-template.php:204
199 	 * @param string[] $templates Array of template files to search for, in order.
200 	 * @param array    $args      Additional arguments passed to the template.
201 	 */
202 	do_action( 'get_template_part', $slug, $name, $templates, $args );
203 
204 	if ( ! locate_template( $templates, true, false, $args ) ) {
205 		return false;
206 	}
207 }
208 
209 /**

Arguments

template_names
array (2)   0 => string(36) "template-parts/page/content-page.php"   1 => string(31) "template-parts/page/content.php"
load
bool TRUE
require_once
bool FALSE
args
array ()

get_template_part()

.../wp-content/themes/identiz/page.php:17
12  * @package Identiz
13  */
14 
15 while ( have_posts() ) : the_post();
16 
17 	get_template_part( 'template-parts/page/content', 'page' );
18 
19 	// If comments are open or we have at least one comment, load up the comment template.
20 	if ( comments_open() || get_comments_number() ) :
21 		comments_template();
22 	endif;

Arguments

slug
string(27) "template-parts/page/content"
name
string(4) "page"

include()

.../wp-content/themes/identiz/base.php:26
21     <?php if(function_exists('bcn_display'))
22     {
23         bcn_display();
24     }?>
25 </div>
26 					<?php include identiz_template_path(); ?>
27 
28 				</main><!-- #main -->
29 
30 				<?php do_action( 'identiz_render_widget_area', 'after-loop-area' ); ?>
31 

Arguments

0
string(52) "/home/capestl/www/wp-content/themes/identiz/page.php"

include()

.../wp-includes/template-loader.php:106
101 	 *
102 	 * @param string $template The path of the template to include.
103 	 */
104 	$template = apply_filters( 'template_include', $template );
105 	if ( $template ) {
106 		include $template;
107 	} elseif ( current_user_can( 'switch_themes' ) ) {
108 		$theme = wp_get_theme();
109 		if ( $theme->errors() ) {
110 			wp_die( $theme->errors() );
111 		}

Arguments

0
string(52) "/home/capestl/www/wp-content/themes/identiz/base.php"

require_once()

.../wp-blog-header.php:19
14 
15 	// Set up the WordPress query.
16 	wp();
17 
18 	// Load the theme template.
19 	require_once ABSPATH . WPINC . '/template-loader.php';
20 
21 }

Arguments

0
string(49) "/home/capestl/www/wp-includes/template-loader.php"

require()

.../index.php:17
12  * @var bool
13  */
14 define( 'WP_USE_THEMES', true );
15 
16 /** Loads the WordPress Environment and Template */
17 require __DIR__ . '/wp-blog-header.php';

Arguments

0
string(36) "/home/capestl/www/wp-blog-header.php"
- That's it! -