Skip to content

Undefined array key "count" in C:\xampp\htdocs\blog\install.php #31

Description

@sozzifer

Thanks for the tutorial - I've completed up to the end of section 3 (Adding more features). When I amend the install.php file at the start of section 4, I get warnings about "Undefined array key "count"" and "Undefined array key "error"" on lines 94 and 95, and when I then try to view index .php I get "Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1 no such table: post in C:\xampp\htdocs\blog\index.php:7 Stack trace: #0 C:\xampp\htdocs\blog\index.php(7): PDO->query('SELECT\r\n ...') #1 {main} thrown in C:\xampp\htdocs\blog\index.php on line 7"

Any advice much appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions