question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Echo.leaveChannel() undefined

See original GitHub issue

When I try to access Echo.leaveChannel, I get an error saying: Uncaught TypeError: Echo.leaveChannel is not a function.

Seeing the main class I can’t find that function as the docs are referring to.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
driesvintscommented, Feb 14, 2019

I’ve found the issue and we released a new patch version with the fix: https://github.com/laravel/echo/commit/fd3b65b5be2950e550e1e18a8d29451bdd66ce7f

0reactions
RicardoRamirezRcommented, Feb 14, 2019

Done! Same problem.

I did a laravel new echo-test then install the necessary packages.

In the Chrome Dev Tools, I typed:

captura de pantalla 2019-02-14 a la s 9 23 28 a m

Read more comments on GitHub >

github_iconTop Results From Across the Web

laravel Echo --> Cannot read property 'channel' of undefined
i am trying to listen on a channel using this code.i already tried using Echo.channel that didn't work so am using the code...
Read more >
Broadcasting - Laravel - The PHP Framework For Web Artisans
Pusher Channels. Laravel Echo is a JavaScript library that makes it painless to subscribe to channels and listen for events broadcast by your...
Read more >
Video SDK v3.7.2 API Reference for C++, all platforms: agora::rtc ...
virtual, ~IChannel () ... virtual int agora::rtc::IChannel::leaveChannel, (, ) ... you may meet undefined behaviors such as no voice and black screen.
Read more >
Uncaught ReferenceError: Echo is not defined - Laracasts
I'm currently pairing laravel echo with laravel websockets. What I wanted to do was output a simple console.log() by listening to an event...
Read more >
WeeChat user's guide
(gdb) bt full #0 0x00007f9dfb04a465 in raise () from /lib/libc.so.6 #1 ... $HOME/.config/weechat if $XDG_CONFIG_HOME is not defined or empty.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found