Scalar value variable issues
So we had these problems (at end of post). Fairly noticable.
Deleted everything we could find that could cause it (after making a hackish custom error message setting, see blockquote here)
<pre>function wsf_action_init() {
set_error_handler('wsf_action_backtrace_error_handler');
}function wsf_action_backtrace_error_handler($errno, $message, $filename, $line) {
if ($errno != '8' && $errno != '2048') { //
drupal_set_message($errno . ' ' . $message);
// drupal_set_message('Who you gonna call? <pre>' . print_r(debug_backtrace(), TRUE) . '</pre>');
var_dump(debug_backtrace());
}
}</pre>
And Agaric's commit messages:
"by george i think i've got it... it's obvious, i don't understand how it really works, but... what the hell nothing from drupal_set_message"
"ok. so drupal_set_message silently fails if too much is stuffed in it"
"drastic testing"
"wow, we isolated the area"
"return the problem"
<
blockquote>
* Your Action set has been created.
* Your Action has been created.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Cannot use a scalar value as an array in /var/www/wsf2008/includes/form.inc on line 854.
* warning: Invalid argument supplied for foreach() in /var/www/wsf2008/includes/common.inc on line 734.
* warning: strtr() [function.strtr]: The second argument is not an array. in /var/www/wsf2008/includes/common.inc on line 749.<blockquote><h3>Resolution</h3>
Comments
Post new comment