statonlab/tripal_manage_analyses

genome browser warnings on live

Closed this issue · 3 comments

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

https://www.hardwoodgenomics.org/Map/2209425

here instead of statonlab/hardwoods_site#293

$entity->{$this->field}['und'][0]['value'] = NULL

is the problem. $this->field is an array.

easily resolved by moving up $field = get_class($this);

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).```