Oqallisissiat Joseph Rézeau-imit allatat

Core developers-ip assinga Plugin developers-ip assinga Testers-ip assinga Translators-ip assinga
Sylvain
"comment out" just means putting those lines between comment markers /* ... */ as shown in the example in my post
Joseph
Core developers-ip assinga Plugin developers-ip assinga Testers-ip assinga Translators-ip assinga

Oleg,

If you would give me a few examples of the correct expected answers from your regular expression [\s\t\n\r]*y[\s\t\n\r]*=[\s\t\n\r]*str11[\s\t\n\r]*;+[\s\t\n\r]* I might be able to help.

For example, would you want to accept as correct:

  • y = str[1][1]
  • y = str[11]
  • y=str[1] [1]

etc.

Joseph

Moodle in English -> General help -> PHP error -> Re: PHP error

Joseph Rézeau-mit -
Core developers-ip assinga Plugin developers-ip assinga Testers-ip assinga Translators-ip assinga
These are simple PHP warnings, which do not prevent your moodle from running. You should just turn the debugging mode off in administration and everything will be fine.
Joseph
EDIT.- Just curious to know: which version of Moodle are you using? Which version of Questionnaire (what is the date in the first line of file mod/questionnaire/locallib.php)?