WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WordPress Download Monitor] Cannot create category properly, WordPress error appears in sit

[Plugin: WordPress Download Monitor] Cannot create category properly, WordPress error appears in sit

  • jbouquet
    Member

    @jbouquet

    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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • jbouquet
    Member

    @jbouquet

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

    Fruitful Code
    Participant

    @fruitfulcode

    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();

    This was the final hint.
    Thanks a lot.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress Download Monitor] Cannot create category properly, WordPress error appears in sit’ is closed to new replies.