Warning: Cannot assign an empty string class-settings.php on line 182 (WPML)

#55480
  • Hi! I’ve seen this issue a few times in the support threads, but none have a concise answer.
    I’m getting three lines of Error on top of my translated WPML pages “Warning: Cannot assign an empty string to a string offset in….. on line 182

    I understand that this error should be ignored, however it’s being output in my frontend, even though debug is set to false.

    I would truly appreciate any help, that I can get.

    Best

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    It might be you have in the PHP configuration enabled the debug logs. Could you ask your hosting support to check if PHP Debug (and Warning) messages are enabled and if they are, to disable them?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    • This reply was modified 2 years, 4 months ago by Alberto.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Warning: Cannot assign an empty string class-settings.php on line 182 (WPML)’ is closed to new replies.