antonioribeiro / antonioribeiro/tracker

Failed to use my own Cookie model in tracker config file

Open
#309 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2.9k
Forks
594
PR merge metrics
No merged PRs in 30d

Description

I have a Cookie model and replaced it with the default cookie model.
Here is my code in `config/tracker.php`:

`'cookie_model' => 'App\Cookie',`

When I run this code, I got this error:

![screen shot 2017-08-05 at 11 34 58 am](https://user-images.githubusercontent.com/11339828/28993708-4a60569c-79d2-11e7-99dd-b561ba95dc52.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the `cookie_model` setting in `config/tracker.php` and reproduce the failure using `App\Cookie` instead of the default cookie model. Investigate the error shown in the attached screenshot and verify that the configured custom model is accepted without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.