Comments (3)
Ahh, okay. I initially was only supporting PHP8 and thought I'd added that in the Composer file but obviously not.
I'll likely make the change to simply use the get_class
function as you've mentioned. I'll also update the GitHub Action to test on 7.4 so I can confirm the fix.
from megaphone.
Could you provide some more information on things like the environment it's running in and the megaphone config file.
Also is this when trying to load the <livewire:megaphone></livewire:megaphone>
component or when you're trying to send a notification?
I'm inclined to think this will be something environment related as I have megaphone working in a Laravel 8 app currently with no problems at all.
from megaphone.
For PHP 7.4
in my case i have Changed $user::class
to get_class($user)
to get it working in Megaphone Class
.
@mikebarlow what will be the change you are going to make to get it working with php 7.4 or less than 8
.
from megaphone.
Related Issues (18)
- Clear notifications console command doesn't load in custom types HOT 1
- Add a Listener to refresh component with pusher events (websockets) HOT 8
- Livewire multiple root error in production HOT 2
- Marking unread notification HOT 2
- Admin component needs to merge in types HOT 1
- public $user : data of object and related objects visible for user HOT 9
- UI modifications. HOT 3
- Livewire 3 HOT 5
- Anonymous User Notifications HOT 4
- Route HOT 1
- Use wireui/heroicons for a more consistent looking iconset? HOT 1
- Multiple Notifiable models HOT 1
- Create blade directive to making including the megaphone css easier
- Improve the mark as read UX
- Fix readme line for megaphone css
- Add note regarding Alpine JS include
- Add link to example demo
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 megaphone.