8000 Fatal error: Uncaught Error: Class 'Mini\Model\PDO' not found in · Issue #45 · panique/mini3 · GitHub
[go: up one dir, main page]

Skip to content

Fatal error: Uncaught Error: Class 'Mini\Model\PDO' not found in  #45

Open

Description

@juniorbatistadev

When I use $query->fetchAll(PDO::FETCH_ASSOC) it show this error Fatal error: Uncaught Error: Class 'Mini\Model\PDO' not found ... thats the only thing i changed in the framework

Activity

  1. panique commented on Jun 28, 2018

    @panique
    Owner

    Hi, what happens when you NOT change it ?

  2. juniorbatistadev commented on Jun 28, 2018

    @juniorbatistadev
    Author

    everything was fine when I didn't change anything. any way in the comments of the song model say I can set the default to PDO:FETCH_ASSOC in core/controller but that file doesn't exist, I ended up finding the settings in core/model

  3. mhco commented on Sep 27, 2018

    @mhco

    You may need to change the use PDO to use \PDO in one or more places, just FYI. Not sure exactly why that's happening, but I get it on some of my sites, too.

  4. uniqueanurag commented on Oct 21, 2018

    @uniqueanurag

    After the above change even i'm getting error

    Fatal error: Class 'admin\Model\PDO' not found in E:\php\admin\application\Model\admin.php on line 28

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

      0