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

ViewCounter Package broke with Laravel 5.1.36 #7

Open
kay899 opened this issue Oct 8, 2016 · 0 comments
Open

ViewCounter Package broke with Laravel 5.1.36 #7

kay899 opened this issue Oct 8, 2016 · 0 comments

Comments

@kay899
Copy link

kay899 commented Oct 8, 2016

Hi,

I am using your wonderful package, but while update to a higher Laravel 5.1 version than 35, the packages broken with an error, when you first view a new object and the counter tries to set this into the database.

The error is:

[2016-10-08 12:25:07] local.ERROR: exception 'ErrorException' with message 'Undefined property: SGProject\Models\News::$counter' in /Applications/XAMPP/xamppfiles/htdocs/sgproject/vendor/fraank/view-counter/src/ViewCounterTrait.php:38

It seems that this change in Laravel 5.1.36 is causing that error:

laravel/framework@v5.1.35...v5.1.36

src/Illuminate/Database/Eloquent/Model.php

_issue() Function is not working with the package.

Perhaps you could fix that?

Thanks
kay899

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

1 participant