Skip to content

[BUG] could not find driver (SQL: select * from "countries" order by "name" asc) #29

Closed

Description

@sayandeep-volition

Describe the bug
Installed the package then when I was going to use it in the blade that time I got this error.

To reproduce
@foreach (Squire\Models\Country::orderBy('name')->get() as $country) <option value="{{ $country->id }}">{{ $country->name }} {{ $country->flag }}</option> @endforeach
Expected behavior
All country list

Context

  • squirephp/countries-en: 2.1
  • Laravel/framework: 8.40"
  • Windows 10
  • PHP 7.4

Additional details

Did I skip any steps?

Activity

  1. danharrin commented on Jul 24, 2021

    @danharrin
    Collaborator

    Hey, do you have the SQLite extension installed for PHP?

  2. locked and limited conversation to collaborators on Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions