I just saw this when setting up a new drupal site, when doing to my custom profile edit page.. ?

warning: Missing argument 1 for views_handler_argument::get_value(), called in /var/www/pinthead/iphone1/sites/all/modules/signup/signup.module on line 1718 and defined in /var/www/pinthead/iphone1/sites/all/modules/views/handlers/views_handler_argument.inc on line 795.

I did a search and found something similar reported but not with signup.module nore this line number..

function in question

  /**
   * Get the value of this argument.
   */
  function get_value($values, $field = NULL) {
    // If we already processed this argument, we're done.
    if (isset($this->argument)) {
      return $this->argument;
    }

any thoughts for 6.x?

Comments

Letharion’s picture

Status: Active » Closed (won't fix)

The error message means that a module has made a call to Views in an incorrect way. Views can't fix Singup, please open an issue there instead.

justageek’s picture

Hi, I'm not trying to be a pain, but the method in question, get_value(), of the class views_handler_argument, requires 2 arguments that are not even used in the method. So, the signup module's call to the get_value() method not produces all these errors because it is not passing arguments which are not even used by the Views method.

merlinofchaos’s picture

Current code for 6.x-3.x looks like this:

  /**
   * Get the value of this argument.
   */
  function get_value() {
    // If we already processed this argument, we're done.
    if (isset($this->argument)) {
      return $this->argument;
    }

Clearly this isn't actually an issue now.