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 Call to undefined method offsetGet() using Directives in Blade templates #86

Closed
franklin-vidal opened this issue Mar 22, 2018 · 2 comments

Comments

@franklin-vidal
Copy link

franklin-vidal commented Mar 22, 2018

I use the following directive in blade template in Laravel 5.6.3 and PHP 7.2:

@desktop
    <p>Content</p>
@enddesktop

And get error:

"Call to undefined method hisorange\BrowserDetect\Result::offsetGet()"

@hisorange
Copy link
Owner

Thanks for the report, found the cause will be releasing a patch pretty soon.

hisorange added a commit that referenced this issue Mar 22, 2018
@hisorange
Copy link
Owner

Got it released in v3.1.4, cheers!

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