No announcement yet.

'[] operator not supported for strings' (unexpected_error)

  • Filter
  • Time
  • Show
Clear All
new posts

  • '[] operator not supported for strings' (unexpected_error)

    ive seen this error pop up a few times lately...does anyone know the solution?

    i got it when trying to edit a post with an image in also having another issue with the click and drag resizing...if i resize an image with click and drag, then click source code, then save or toggle back, it strips some of the data out and breaks the image instead leaving a line of text like>>

    {"alt":"Click image for larger version Name:\timage_793.jpg Views:\t1 Size:\t404.1 KB ID:\t1882","data-align":"none","data-attachmentid":"1882","data-size":"custom","height":"448","width":"597"}
    i tried to recreate this on but things work fine here

  • #2
    oops, um php 7.1/mariaDB 10...apache2.4 uh what


    • #3
      bump for after the weekend....seems like thats when i always have a question


      • #4
        Would you mind logging it?

        Just worry about the Summary (title), Description (description of the issue), and in Environment put in your PHP info and other server details.

        Thank you.


        • #5
          done...ive made one for both issues...


          • #6
            Thanks. when the developers respond you will get an email notice.


            • #7
              Originally posted by IggyP View Post
              oops, um php 7.1/mariaDB 10...apache2.4 uh what
              The problem is most likely PHP 7.1. There are some string handling issues with vBulletin in this version of PHP. We hope to get them fixed soon. Can you see if you have the same issue with PHP 7.0.X?

              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud customization and demonstration site.
              vBulletin 5 Documentation - Updated every Friday. Report issues here.
              vBulletin 5 API - Full / Mobile
              I am not currently available for vB Messenger Chats.


              • #8
                I took another look at this and noticed it was reported against 5.2.4. I can reproduce on that version but not 5.2.5 or the current dev build. I believe this was fixed.


                • #9
                  sounds good thanks....and yes, this was only for php 7.1 ...i could not reproduce on 7.0


                  widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.