User login

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

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.