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

Error in laravel 8 #11

Closed
hrace009 opened this issue Feb 18, 2022 · 5 comments
Closed

Error in laravel 8 #11

hrace009 opened this issue Feb 18, 2022 · 5 comments

Comments

@hrace009
Copy link

hrace009 commented Feb 18, 2022

I got this error,

image

Any advice?

@brian2694
Copy link
Owner

What version of php are you using? I will test locally

@hrace009
Copy link
Author

What version of php are you using? I will test locally

[hrace009@localhost]$ php -v
PHP 7.4.27 (cli) (built: Dec 14 2021 17:17:06) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with the ionCube PHP Loader + ionCube24 v11.0.0, Copyright (c) 2002-2021, by ionCube Ltd.

@brian2694
Copy link
Owner

Let me check your code.

I've tested locally on php 7.4 and Laravel 8 and see everything working fine.

This way I am calling Toastr
Toastr::success('Messages in here', 'Title', ["positionClass" => "toast-top-center"]);

I leave you a screenshot below

image

@brian2694
Copy link
Owner

Any update?

@hrace009
Copy link
Author

hi, sorry late to respond, i have move to sweetalert2.

Thanks

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