FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TypeError: array_replace_recursive() in Laravel 11 with php-flasher-toastr #bug · Issue #281 · php-flasher/php-flasher · GitHub

Repository navigation

TypeError: array_replace_recursive() in Laravel 11 with php-flasher-toastr #bug #281

Description

Hello, When using php-flasher-toastr with Laravel 11, I encounter a TypeError: array_replace_recursive(): Argument #2 must be of type array, int given error in Illuminate\Translation\FileLoader at line 130.
My environment:

  • PHP: 8.3.7
  • Laravel: 11.4.2
  • php-flasher/flasher-toastr-laravel: 2.1
  • php-flasher/flasher-laravel: 2.1
    The error disappears when I uninstall php-flasher/flasher-toastr-laravel and php-flasher/flasher-laravel. Alternatively, ensuring that the value passed to with() is always a string (e.g., with('success', 'Message')) prevents the error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL