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

Only arrays and Traversables can be unpacked issue #369

Closed
nikola-n opened this issue Oct 20, 2023 · 2 comments
Closed

Only arrays and Traversables can be unpacked issue #369

nikola-n opened this issue Oct 20, 2023 · 2 comments

Comments

@nikola-n
Copy link

nikola-n commented Oct 20, 2023

Hi all, I'm experiencing this issue when I have the dispatch close event enabled, and I'm using Livewire 3:

public static function dispatchCloseEvent(): bool
    {
        return true;
    }

Then I have the modalClosed event added in the listeners and I have a method with the same name:

  /**
     * @var string[]
     */
    public $listeners = [
        'modalClosed',
    ];

When the modal is invoked and I close it I get this kind of issue.
image

Do you have any ideas or suggestions on how I can fix this? Thanks!

@nikola-n
Copy link
Author

nikola-n commented Nov 6, 2023

I think that these PR's should fix the issue:

@PhiloNL
Copy link
Contributor

PhiloNL commented Nov 12, 2023

Fixed in the latest release.

@PhiloNL PhiloNL closed this as completed Nov 12, 2023
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

2 participants