Hi, i'm getting this error:

Notice: Undefined variable: args in eval() (line 4 of /home/felicianotypefoundry/www/felicianotypefoundry.com/cms/sites/all/modules/views/plugins/views_plugin_argument_validate_php.inc(53) : eval()'d code).

Any ideas?

Comments

helderluis created an issue. See original summary.

renatog’s picture

Hi @helderluis, how are you?

I check your case, and now works good for me.

In this file, exists a function: get_argument()

  function get_argument() {
    // set up variables to make it easier to reference during the argument.
    $view = &$this->view;
    $argument = &$this->argument;
    ob_start();
    $result = eval($this->options['code']);
    ob_end_clean();
    return $result;
  }

And this function uses the key "code" of an object property.

Please update your project, clear all drupal caches and try again. It should be works.

Please check your watchdog in admin/reports/dblog.

Thank you very much @helderluis.

Best,

renatog’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.