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

$model->delete() fails #12

Open
ITwrx opened this issue Jul 31, 2018 · 2 comments
Open

$model->delete() fails #12

ITwrx opened this issue Jul 31, 2018 · 2 comments

Comments

@ITwrx
Copy link

ITwrx commented Jul 31, 2018

$model->delete() fails for some reason.

same exact code works fine with apc activated in .env and laravel-opcache still installed and without reverting

use ElcoBvg\Opcache\Model;

back to

use Illuminate\Database\Eloquent\Model;

. i thought cache flush wasn't working at first, but the row is not actually being deleted.

thanks

@elcobvg
Copy link
Owner

elcobvg commented Jul 31, 2018

Hmm, that is curious because the extended classes don't touch on any of that. Have you tried it with opcache activated but with the regular Eloquent Model?

I'll look into this as soon as I have some time, but unfortunately I am rather busy at the moment.

@ITwrx
Copy link
Author

ITwrx commented Jul 31, 2018

by "opcache activated" do you mean "opcache" or "laravel-opcache". i didn't disable opcache when i switched back to apc, so that was tested. i didn't try laravel-opcache with regular laravel model but that will just give the "at_state" error, i think. apc with opcache and normal eloquent model should also work fine, as i use that in production.

no rush. just thought i'd mention it just in case it's not my fault somehow. :)

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

No branches or pull requests

2 participants