[php7.1] user edit box, [] operator not supported for strings #621

Closed
opened 2026-10-05 00:07:49 +02:00 by adam · 0 comments
Owner

On http://piwigo.org/forum/viewtopic.php?id=27917 Chartman123 has shown a problem with PHP 7.1.4

When opening the edit user box:

<br />
<b>Fatal error</b>:  Uncaught Error: [] operator not supported for strings in ...\include\ws_functions\pwg.users.php:198
Stack trace:
#0 ...\include\ws_core.inc.php(608): ws_users_getList(Array, Object(PwgServer))
#1 ...\include\ws_protocols\rest_handler.php(56): PwgServer-&gt;invoke('pwg.users.getLi...', Array)
#2 ...\include\ws_core.inc.php(296): PwgRestRequestHandler-&gt;handleRequest(Object(PwgServer))
#3 ...\ws.php(94): PwgServer-&gt;run()
#4 {main}
  thrown in <b>...\include\ws_functions\pwg.users.php</b> on line <b>198</b><br />
On http://piwigo.org/forum/viewtopic.php?id=27917 Chartman123 has shown a problem with PHP 7.1.4 When opening the edit user box: ``` <br /> <b>Fatal error</b>: Uncaught Error: [] operator not supported for strings in ...\include\ws_functions\pwg.users.php:198 Stack trace: #0 ...\include\ws_core.inc.php(608): ws_users_getList(Array, Object(PwgServer)) #1 ...\include\ws_protocols\rest_handler.php(56): PwgServer-&gt;invoke('pwg.users.getLi...', Array) #2 ...\include\ws_core.inc.php(296): PwgRestRequestHandler-&gt;handleRequest(Object(PwgServer)) #3 ...\ws.php(94): PwgServer-&gt;run() #4 {main} thrown in <b>...\include\ws_functions\pwg.users.php</b> on line <b>198</b><br /> ``` <!-- github-sync-id:226345084 -->
adam closed this issue 2026-10-05 00:07:49 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#621