Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDO Debug d'ont work #55

Open
ribafs opened this issue Aug 29, 2019 · 1 comment · May be fixed by #76
Open

PDO Debug d'ont work #55

ribafs opened this issue Aug 29, 2019 · 1 comment · May be fixed by #76

Comments

@ribafs
Copy link

ribafs commented Aug 29, 2019

In application/Model/Song.php

it's missing

use Mvc\Libs\Helper;

Correct it this:

<?php
/**
 * Class Songs
 * This is a demo Model class.
 *
 * Please note:
 * Don't use the same name for class and method, as this might trigger an (unintended) __construct of the class.
 * This is really weird behaviour, but documented here: http://php.net/manual/en/language.oop5.decon.php
 *
 */
namespace Mini\Model;

use Mini\Core\Model;
use Mvc\Libs\Helper;

class Song extends Model
@panique
Copy link
Owner

panique commented Aug 30, 2019

Thanks, thats true! Personal notice: TODO add use Mini\Libs\Helper; to Model/Song.php
I ll add when i have time :)

@ebitkov ebitkov linked a pull request May 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants