← Back to team overview

mahara-contributors team mailing list archive

[Bug 1713598] Re: [] operator not supported for strings

 

This seems to be the the reason of the error here 
https://mahara.org/interaction/forum/topic.php?id=8030&offset=0&limit=10#post32239

But as the error doesn't mention where the error stems from in the code
it will a matter of trying to find where we set up variables as strings
then try and treat them as arrays by assigning something to them in the
array way

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1713598

Title:
  [] operator not supported for strings

Status in Mahara:
  New

Bug description:
  This error can happen when a variable is defined as a string to begin
  with then is treated as an array, for example:

  $test = '';

  Then

  $test[] = 'cats';

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1713598/+subscriptions


References