Forum Archive - Fatal error (cannot unset string offsets) in your script

Fatal error (cannot unset string offsets) in your script
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
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
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 numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
Error message and URL problemsFeb 6, 2019 11:16 amReplies: 1Post by: Kidbooo
GT doesn't work...error 404 pageJan 28, 2019 5:36 pmReplies: 1Post by: vincenzodinuzzo
Nginx 502 ErrorJan 11, 2019 2:15 pmReplies: 1Post by: mightyfineprint
Error message on click on the widgetJan 6, 2019 9:52 pmReplies: 1Post by: jmric68

Try GTranslate with a free 15 day trial