genome browser warnings on live
Closed this issue · 3 comments
bradfordcondon commented
Notice: Array to string conversion in local__genome_browser->load() (line 128 of /var/www/html/sites/all/modules/custom/tripal_manage_analyses/includes/TripalFields/local__genome_browser/local__genome_browser.inc).
Notice: Array to string conversion in local__genome_browser->load() (line 128 of /var/www/html/sites/all/modules/custom/tripal_manage_analyses/includes/TripalFields/local__genome_browser/local__genome_browser.inc).
Notice: Array to string conversion in local__genome_browser->load() (line 128 of /var/www/html/sites/all/modules/custom/tripal_manage_analyses/includes/TripalFields/local__genome_browser/local__genome_browser.inc).
Notice: Array to string conversion in local__genome_browser->load() (line 128 of /var/www/html/sites/all/modules/custom/tripal_manage_analyses/includes/TripalFields/local__genome_browser/local__genome_browser.inc).
Notice: Array to string conversion in local__genome_browser->load() (line 128 of /var/www/html/sites/all/modules/custom/tripal_manage_analyses/includes/TripalFields/local__genome_browser/local__genome_browser.inc).
Notice: Array to string conversion in local__genome_browser->load() (line 128 of /var/www/html/sites/all/modules/custom/tripal_manage_analyses/includes/TripalFields/local__genome_browser/local__genome_browser.inc).
Notice: Array to string conversion in local__genome_browser->load() (line 128 of /var/www/html/sites/all/modules/custom/tripal_manage_analyses/includes/TripalFields/local__genome_browser/local__genome_browser.inc).
Notice: Array to string conversion in local__genome_browser->load() (line 128 of /var/www/html/sites/all/modules/custom/tripal_manage_analyses/includes/TripalFields/local__genome_browser/local__genome_browser.inc).
Notice: Array to string conversion in local__genome_browser->load() (line 128 of /var/www/html/sites/all/modules/custom/tripal_manage_analyses/includes/TripalFields/local__genome_browser/local__genome_browser.inc).
Notice: Array to string conversion in local__genome_browser->load() (line 128 of /var/www/html/sites/all/modules/custom/tripal_manage_analyses/includes/TripalFields/local__genome_browser/local__genome_browser.inc).
this is on the MAP content, when the field isnt even attached
bradfordcondon commented
here instead of statonlab/hardwoods_site#293
$entity->{$this->field}['und'][0]['value'] = NULL
is the problem. $this->field
is an array.
bradfordcondon commented
easily resolved by moving up $field = get_class($this);
bradfordcondon commented
additional warnings that may or may not need their own issue:
Notice: Array to string conversion in local__genome_browser->load() (line 132 of /Users/chet/UTK/tripal/sites/all/modules/custom/tripal_manage_analyses/includes/TripalFields/local__genome_browser/local__genome_browser.inc).
Notice: Trying to get property of non-object in local__genome_browser->load() (line 146 of /Users/chet/UTK/tripal/sites/all/modules/custom/tripal_manage_analyses/includes/TripalFields/local__genome_browser/local__genome_browser.inc).
Warning: array_map(): Argument #2 should be an array in local__genome_browser_formatter->view() (line 101 of /Users/chet/UTK/tripal/sites/all/modules/custom/tripal_manage_analyses/includes/TripalFields/local__genome_browser/local__genome_browser_formatter.inc).```