Bonjour,

j'ai mis en ligne un site web, tout fonctionnait bien quand tout à coup j'ai eu cette erreur

Parse error: syntax error, unexpected end of file in /home/inkaoshoma/www/wp-includes/functions.php on line 4849
Lorsque je visualise le fichier functions.php et la ligne 4849 voici les infos :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 /**
 * Retrieve metadata from a file.
 *
 * Searches for metadata in the first 8kiB of a file, such as a plugin or theme.
 * Each piece of metadata must be on its own line. Fields can not span multiple
 * lines, the value will get cut at the end of the first line.
 *
 * If the file data is not within that first 8kiB, then the author should correct
 * their plugin file and move the data headers to the top.
 *
 * @link <a href="https://codex.wordpress.org/File_Header" target="_blank">https://codex.wordpress.org/File_Header</a>
 *
 * @since 2.9.0
 *
 * @param string $file            Path to the file.
 * @param array  $default_headers List of headers, in the format array('HeaderKey' => 'Header Name').
 * @param string $context         Optional. If specified adds filter hook {@see 'extra_$context_headers'}.
 *                                Default empty.
 * @return array Array of file headers in `HeaderKey => Header Value` format.
 */
function get_file_data( $file, $default_headers, $context = '' ) {
	// We don't need to write to the file, so just open for reading.
	$fp = fopen( $file, 'r' );
 
	// Pu
La ligne 4849 étant la dernière...

Svp pouvez vous m'aider? Je ne vois pas où est l'erreur, n'étant pas une grande adepte du code.

Je vous remercie beaucoup.