hideCero Error
-
- Ssr. Bludit
- Posts: 17
- Joined: Mon Nov 16, 2020 3:26 pm
- Has thanked: 2 times
- Been thanked: 1 time
Hi Guys,
getting this error in php error log, localhost on mac:
PHP Notice: Undefined index: hideCero in /Users/test/Sites/boston/bl-kernel/abstract/plugin.class.php on line 146
Anyone know a solution please?
// Returns the value of the field from the database
// (string) $field
// (boolean) $html, TRUE returns the value sanitized, FALSE unsanitized
public function getValue($field, $html = true)
{
if (isset($this->db[$field])) {
if ($html) {
return $this->db[$field];
} else {
return Sanitize::htmlDecode($this->db[$field]);
}
}
return $this->dbFields[$field]; //this is line 146 in the file plugin.class.php
}
I'm not a programmer guys, so be gentle
thank you
getting this error in php error log, localhost on mac:
PHP Notice: Undefined index: hideCero in /Users/test/Sites/boston/bl-kernel/abstract/plugin.class.php on line 146
Anyone know a solution please?
// Returns the value of the field from the database
// (string) $field
// (boolean) $html, TRUE returns the value sanitized, FALSE unsanitized
public function getValue($field, $html = true)
{
if (isset($this->db[$field])) {
if ($html) {
return $this->db[$field];
} else {
return Sanitize::htmlDecode($this->db[$field]);
}
}
return $this->dbFields[$field]; //this is line 146 in the file plugin.class.php
}
I'm not a programmer guys, so be gentle
thank you
-
- Master Bludit
- Posts: 61
- Joined: Tue Jul 04, 2017 4:31 am
- Location: New Zealand
- Has thanked: 3 times
- Been thanked: 7 times
Hi antzweb,
This is a very specific error - so I wonder what you have specifically done to cause it. I tend to mod things a lot and sometimes far too erratically.
What I have found as default strategy is > fresh install and add back an element that I may have changed. Test the site. Add another - test the site. etc. This is tedious but it has eventually led me to my blooper(s).
Have you been changing the core script - as opposed to theme or plugins?
It could well be a bug but... perhaps not
hope you get it sorted - Kusalo
This is a very specific error - so I wonder what you have specifically done to cause it. I tend to mod things a lot and sometimes far too erratically.
What I have found as default strategy is > fresh install and add back an element that I may have changed. Test the site. Add another - test the site. etc. This is tedious but it has eventually led me to my blooper(s).
Have you been changing the core script - as opposed to theme or plugins?
It could well be a bug but... perhaps not
hope you get it sorted - Kusalo