Fatal error (cannot unset string offsets) in your script
Jan 28, 2014 2:35 pm by roderik
Jan 28, 2014 2:35 pm by roderik
The following page is correctly parsed by GTranslate:
http://vivere-e-gustare.com/de/vakantiehuizen
The 'filter' links on that page produce a white screen with only an error message (i.e. that's your script throwing an error, as far as I see):
Fatal error: Cannot unset String-Offsets on-line 515
example which gives this error (first checkbox in left sidebar on above page):
http://vivere-e-gustare.com/de/vakantiehuizen?f[0]=field_zwembad%3AJa
FYI:
- PHP version: 5.3.17
- despite the checkboxes in the 'filter' these are simple GET URLS
- The above URL arguments may look funny at first sight, but this is a common URL for "exposed filters" in Drupal. (f[0] = field_zwembad = Ja , which is Dutch for Yes )
Re: Fatal error (cannot unset string offsets) in your script
Jan 28, 2014 5:56 pm by Yana
Jan 28, 2014 5:56 pm by Yana
Hi,
Thank you for your post . We will check it and contact you soon.
Re: Fatal error (cannot unset string offsets) in your script
Jan 28, 2014 10:10 pm by Edvard
Jan 28, 2014 10:10 pm by Edvard
Hi,
We have checked and we do not support arguments passed by array in the URLs like f[0], f[1], etc...
We can offer you to upgrade your Pro license to Enterprise and as a courtesy we will do it for free for the first year.
Just let us know.
If you want to stick with Pro version you will need to modify Search API ranges module which is a custom module to change the format of parameters from arrays into strings. For example you may pass the parameters separated by "|". For example instead of f[0]=a&f[1]=b... you can have f=a|b...
Thanks!
SIMILAR TOPICS
Gtranslate: Error with number | Feb 20, 2019 1:20 am | Replies: 1 | Post by: infact_dat |
Error message and URL problems | Feb 6, 2019 11:16 am | Replies: 1 | Post by: Kidbooo |
GT doesn't work...error 404 page | Jan 28, 2019 5:36 pm | Replies: 1 | Post by: vincenzodinuzzo |
Nginx 502 Error | Jan 11, 2019 2:15 pm | Replies: 1 | Post by: mightyfineprint |
Error message on click on the widget | Jan 6, 2019 9:52 pm | Replies: 1 | Post by: jmric68 |