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

Illegal string offset #17

Open
christianseel opened this issue Jan 3, 2016 · 0 comments
Open

Illegal string offset #17

christianseel opened this issue Jan 3, 2016 · 0 comments
Milestone

Comments

@christianseel
Copy link
Contributor

Hi!

I'm sometimes getting a few of those errors in my modx error log… Looks like the mapstv class isn't handling empty TV values correctly?

[2016-01-03 12:51:52] (ERROR @ /core/components/mapstv/elements/tv/input/mapstv.class.php : 48) PHP warning: Illegal string offset 'street'
[2016-01-03 12:51:52] (ERROR @ /core/components/mapstv/elements/tv/input/mapstv.class.php : 49) PHP warning: Illegal string offset 'housenumber'
[2016-01-03 12:51:52] (ERROR @ /core/components/mapstv/elements/tv/input/mapstv.class.php : 50) PHP warning: Illegal string offset 'zipcode'
[2016-01-03 12:51:52] (ERROR @ /core/components/mapstv/elements/tv/input/mapstv.class.php : 51) PHP warning: Illegal string offset 'city'
[2016-01-03 12:51:52] (ERROR @ /core/components/mapstv/elements/tv/input/mapstv.class.php : 52) PHP warning: Illegal string offset 'state'
[2016-01-03 12:51:52] (ERROR @ /core/components/mapstv/elements/tv/input/mapstv.class.php : 53) PHP warning: Illegal string offset 'country'
[2016-01-03 12:51:52] (ERROR @ /core/components/mapstv/elements/tv/input/mapstv.class.php : 54) PHP warning: Illegal string offset 'latitude'
[2016-01-03 12:51:52] (ERROR @ /core/components/mapstv/elements/tv/input/mapstv.class.php : 55) PHP warning: Illegal string offset 'longitude'
@joeke joeke added this to the Release 1.1 milestone Sep 27, 2016
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