Erreur 500 - Internal Server Error

Foliolabs\Library\ExceptionError | Notice [500]

Trying to get property 'comment_ID' of non-object
.../wp-includes/comment-template.php:677
672 	 * @since 4.1.0 The `$comment_ID` parameter was added.
673 	 *
674 	 * @param int        $comment_ID The current comment ID.
675 	 * @param WP_Comment $comment    The comment object.
676 	 */
677 	return apply_filters( 'get_comment_ID', $comment->comment_ID, $comment );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase
678 }
679 
680 /**
681  * Displays the comment ID of the current comment.
682  *

get_comment_ID()

.../wp-includes/comment-template.php:2012
2007 	} else {
2008 		// Sets the global so that template tags can be used in the comment form.
2009 		$comment = get_comment( $reply_to_id );
2010 
2011 		if ( $link_to_parent ) {
2012 			$author = '<a href="#comment-' . get_comment_ID() . '">' . get_comment_author( $comment ) . '</a>';
2013 		} else {
2014 			$author = get_comment_author( $comment );
2015 		}
2016 
2017 		printf( $reply_text, $author );

comment_form_title()

.../wp-includes/comment-template.php:2525
2520 	?>
2521 	<div id="respond" class="<?php echo esc_attr( $args['class_container'] ); ?>">
2522 		<?php
2523 		echo $args['title_reply_before'];
2524 
2525 		comment_form_title( $args['title_reply'], $args['title_reply_to'] );
2526 
2527 		echo $args['cancel_reply_before'];
2528 
2529 		cancel_comment_reply_link( $args['cancel_reply_link'] );
2530 

Arguments

no_reply_text
string(13) "Leave a reply"
reply_text
string(15) "Répondre à %s"

comment_form()

.../wp-content/themes/identiz/comments.php:85
80 
81 		<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'identiz' ); ?></p>
82 	<?php
83 	endif;
84 
85 	comment_form();
86 	?>
87 
88 </div><!-- #comments -->

require()

.../wp-includes/comment-template.php:1554
1549 	 * @param string $theme_template The path to the theme template file.
1550 	 */
1551 	$include = apply_filters( 'comments_template', $theme_template );
1552 
1553 	if ( file_exists( $include ) ) {
1554 		require $include;
1555 	} elseif ( file_exists( TEMPLATEPATH . $file ) ) {
1556 		require TEMPLATEPATH . $file;
1557 	} else { // Backward compat code will be removed in a future release.
1558 		require ABSPATH . WPINC . '/theme-compat/comments.php';
1559 	}

Arguments

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

comments_template()

.../wp-content/themes/identiz/single.php:21
16     // WEA Hide Author test
17 	//identiz_post_author_bio();
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;
23 
24 endwhile; // End of the loop.

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(54) "/home/capestl/www/wp-content/themes/identiz/single.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! -