Filling error log: download_taxonomies.class.php on line 156
-
Hi, I finally tracked down the error that is second x second filling up the error log. Nothing else there but this. I’m sure it’s not new, I just found it.
PHP Warning: Creating default object from empty value in /wp-content/plugins/download-monitor/classes/download_taxonomies.class.php on line 156
Here’s line 156:
$cat->decendents = array();
Here’s lines 144 – 163 in context:
class download_category {
var $id;
var $name;
var $parent;
var $decendents;
var $direct_decendents;
var $size;</p>
<p> function download_category($id, $name, $parent, $size) {
$this->id = $id;
$this->name = $name;
$this->parent = $parent;
$cat->decendents = array();
$cat->direct_decendents = array();
$this->size = $size;
}</p>
<p> function get_decendents() {
if (is_array($this->decendents)) return $this->decendents;
return array();Any fix on that file?
I do not code php, but can copy/paste in something or make some necessary setup adjustment you tell me.
I personally have never seen/touched this code, but I cannot vouch for previous tech, now gone.
- The topic ‘Filling error log: download_taxonomies.class.php on line 156’ is closed to new replies.