Comments (4)
Hey! Great spot, I'm glad you managed to fix that.
If you're still running into any issues with trying to access the visit
property, feel free to give me a shout and I'll see if I can lend a hand at all 😄
from short-url.
Hey! Sorry that you're having problems with the package. I'll take a look into this 😄
I did notice in your EventServiceProvider
example that the PhoneMessageLinkClicked
listener looks like is being imported with a namespace that looks like a Laravel vendor namespace (use Illuminate\Auth\Listeners\PhoneMessageLinkClicked;
). Is that the actual namespace of the listener you're trying to import?
I'm just wondering if there's an error in the example you've sent over, or if that's intentional 🙂
from short-url.
Hi Ash,
Thank you for your quick response - and you're absolutely right my namespacing convention for the my Listener was incorrect in the EventServiceProvider file - I have just updated it as per your instructions which you can see in the Gist below:
https://gist.github.com/HeadStudios/777e2375d99a68cb2cf0f43550ace1a5
I then created another shortlink and visited it however can confirm the event is still not firing - I really appreciate your input and any other ideas you have would be much appreciated.
from short-url.
Hi Ash,
Just updating that I have fixed the event firing action - it was due to the namespace of the Event itself which I have updated to:
use AshAllenDesign\ShortURL\Events\ShortURLVisited;
The only challenge now is the handle() functionality throwing an error for this code:
https://gist.github.com/HeadStudios/7e4a2d499ef31d45542d003b862ff25c
With the error:
Undefined property: AshAllenDesign\ShortURL\Events\ShortURLVisited::$visit
However I am confident I will be able to take it from here - thank you for pointing me to the use statements being an issue and I appreciate your quick response and help!
I will mark this as Closed.
from short-url.
Related Issues (20)
- redirect to url instead of throwing 404 HOT 3
- Laravel Sail Conflict Wrong IP HOT 1
- outdated v2.7 mobiledetect/mobiledetectlib in jenssegers/agent HOT 3
- Error: Class 'AshAllenDesign\ShortURL\Classes\Builder' not found HOT 1
- Prefix Null Issue HOT 10
- Laravel Jetstream compatability issue due to jenssegers/agent outdated dependency HOT 8
- db migration issue
- 如何获取真实的IP? HOT 3
- Tenancy with multi databases HOT 3
- remove prefix don't work HOT 2
- Specify the amount of uses HOT 1
- Browser information being stored as `0` (`false`) when not available in headers HOT 1
- Compatibility issue with Laravel 11 HOT 2
- [Discuss] Dropping `default_short_url` column in favor of `Accessor`
- any way to have multiple short base urls? HOT 2
- Upgrading to Laravel 11 HOT 3
- Laravel 11 compatibility HOT 2
- BindingResolutionException when trying to use lib HOT 4
- composer install Error prompt HOT 2
- Short URL Redirection Issue and Configuration HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from short-url.