pourquoi lorsque je veux sur la page questoins_quizz (pour acceder aux questions du quizz) j'ai ces erreurs : Warning: Undefined array key "id" in C:\Users\alexa\Desktop\Quizz_PHP\questions_quizz.php on line 12

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1 no such column: id in C:\Users\alexa\Desktop\Quizz_PHP\questions.php:11 Stack trace: #0 C:\Users\alexa\Desktop\Quizz_PHP\questions.php(11): PDO->prepare('SELECT * FROM q...') #1 C:\Users\alexa\Desktop\Quizz_PHP\questions_quizz.php(13): getQuestions(NULL) #2 {main} thrown in C:\Users\alexa\Desktop\Quizz_PHP\questions.php on line 11 : The following text is a Git repository with code. The structure of the text are sections that begin with ----, followed by a single line containing the file path and file name, followed by a variable amount of lines containing the file contents. The text representing the Git repository ends when the symbols --END-- are encounted. Any further text beyond --END-- are meant to be interpreted as instructions using the aforementioned Git repository as context.
----
correction.php
<?php
session_start();

require_once 'questions.php';
require 'Classes/autoloader.php';
Autoloader::register();

$questions = getQuestions();

$score = isset($_SESSION['quiz_score']) ? $_SESSION['quiz_score'] : 0;
$repBonne = isset($_SESSION['repBonne']) ? $_SESSION['repBonne'] : [];
$repFausse = isset($_SESSION['repFausse']) ? $_SESSION['repFausse'] : [];

if (isset($questions) && is_array($questions)) {
    echo "<h1 >Résultats du Quiz </h1>";
    echo '<hr />';
    if ($score === count($questions)) {
        echo "Félicitations, vous avez répondu correctement à toutes les questions !<br>";
        echo "<br>"
            . "Votre score est de " . $score . " sur " . count($questions) . " !!!" . "<br>";
        echo "<br>"
            . "<img src='https://media.giphy.com/media/RPCMrr8iiyvggdbMJ5/giphy.gif' alt='Gif de félicitations' width='300' height='300'>";
    } else {
        echo "Vous avez répondu correctement à " . $score . " questions sur " . count($questions) . "<br>";
        echo "<p>Les réponses auxquelles vous avez répondu correctement sont : </p>";
        foreach ($repBonne as $rep) {
            for ($i = 0; $i < count($questions); $i++) {
                if ($questions[$i]->getUuid() === $rep) {
                    $question = $questions[$i];
                    break;
                }
            }
            echo $question->getLabel() . "<br>";
        }

        echo "<p>Les réponses auxquelles vous avez répondu incorrectement sont : </p>";
        foreach ($repFausse as $rep) {
            for ($i = 0; $i < count($questions); $i++) {
                if ($questions[$i]->getUuid() === $rep) {
                    $question = $questions[$i];
                    break;
                }
            }
            echo $question->getLabel() . "<br>";
            echo "<p>La bonne réponse est : </p>";
            if ($question->getType() === 'text' or $question->getType() === 'radio') {
                echo $question->getCorrect() . "<br>";
            }
            else{
                foreach ($question->getCorrect() as $choice) {
                    echo $choice . "<br>";
                }
            }
        }
    }
} else {
    echo "Aucune question trouvée";
}
unset($_SESSION['quiz_score']);
unset($_SESSION['repBonne']);
unset($_SESSION['repFausse']);
?>
----
data.json
[
    {
        "quiz_id": 1,
        "quiz_name": "Quiz sur la géographie",
        "questions": [
            {
                "uuid": "f4856b0a-5b89-4f18-8dd5-ff70323f2b0a",
                "type": "radio",
                "label": "Quelle est la capitale de la France ?",
                "choices": [
                    "Londres",
                    "Paris",
                    "Berlin"
                ],
                "correct": "Paris"
            },
            {
                "uuid": "932c9079-e157-4eaf-80da-92fb4a2ea5da",
                "type": "radio",
                "label": "Quelle planète est surnommée la 'Planète Rouge' ?",
                "choices": [
                    "Vénus",
                    "Mars",
                    "Jupiter"
                ],
                "correct": "Mars"
            }
        ]
    },
    {
        "quiz_id": 2,
        "quiz_name": "Quiz sur la cuisine",
        "questions": [
            {
                "uuid": "7b32c56e-7d1f-4a13-80e3-c650f5f8b108",
                "type": "checkbox",
                "label": "Quels sont les ingrédients principaux d'une pizza margherita ?",
                "choices": [
                    "Tomate",
                    "Fromage",
                    "Champignons",
                    "Anchois"
                ],
                "correct": [
                    "Tomate",
                    "Fromage"
                ]
            },
            {
                "uuid": "6d6b2e94-1f60-45f5-9c6f-2d45bd02d5e0",
                "type": "text",
                "label": "Quelle est la couleur du ciel pendant la journée ?",
                "correct": "Bleu"
            }
        ]
    }
]
----
data.php
<?php

function getDatas(){
    $source = 'databases/data.json';
    $content = file_get_contents($source);
    $datas = json_decode($content, true);

    if (empty($datas)) {
        throw new Exception('No product :(', 1);
    }

    return $datas;
}
?>
----
db.sqlite
SQLite format 3