Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BUG REPORT basic.php: getRegexUnicode(); called without parameters.
#1
Hello there,

Today I enabled the debug in gsconfig.php to troubleshoot an issue but accidentally I stumbled on an (unrelated) warning while saving the components (admin/components.php).

The warning states:
"Warning: Missing argument 1 for getRegexUnicode(), called in /Users/zxxz/Sites/xxx/admin/inc/basic.php on line 699 and defined in /Users/zxxz/Sites/xxx/admin/inc/basic.php on line 712"

And at the end:
"Error: Headers already sent in /Users/zxxz/Sites/xxx/admin/inc/basic.php on line 712 If your browser does not redirect you, click here"

In basic.php, line 699 I see "$chr = getRegexUnicode();" so the function is being called without parameters, while the function itself is defined at line 712 as "function getRegexUnicode($id){".

This warning is visible only in debug mode.

I thought it was useful to report...

Cheers,
zxxz
Reply


Messages In This Thread
basic.php: getRegexUnicode(); called without parameters. - by zxxz - 2014-08-25, 05:48:16



Users browsing this thread: 1 Guest(s)