WordPress.org

Ready to get started?Download WordPress

Forums

Download Monitor
Cannot create category properly, WordPress error appears in sit (4 posts)

  1. jbouquet
    Member
    Posted 1 year ago #

    Hello, when I create a Category in Download Monitor, I get this message:

    Warning: Creating default object from empty value in /homez.365/adicorg/www/wp-content/plugins/download-monitor/classes/download_taxonomies.class.php on line 154

    Line 154 from that PHP file is bolded below:

    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;
    }

    Anyone have any clue?

    http://wordpress.org/extend/plugins/download-monitor/

  2. jbouquet
    Member
    Posted 1 year ago #

    This is from a brand new installation of Download Monitor, fresh out of the box. It does that for any category that I create.

  3. Fruitful Code
    Member
    Posted 1 year ago #

    jbouquet

    Try to change in this file

    ../wp-content/plugins/download-monitor/classes/download_taxonomies.class.php on line 154

     $cat->decendents = array();
     $cat->direct_decendents = array();

    to

     $this->decendents = array();
     $this->direct_decendents = array();

  4. Christian Kramer
    Member
    Posted 1 year ago #

    This was the final hint.
    Thanks a lot.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic