WordPress.org

Support

Support » Plugins and Hacks » Assignment Desk » [Resolved] [Plugin: Assignment Desk] Call to a member function add_rewrite_tag() on a non-object

[Resolved] [Plugin: Assignment Desk] Call to a member function add_rewrite_tag() on a non-object

  • Hey folks.

    Running WP in multi-site mode on my laptop’s WAMP server. (http://localhost.localdomain/)

    When I activate Assignment Desk, this error starts popping up on any URL:

    Fatal error: Call to a member function add_rewrite_tag() on a non-object in C:\wamp\www\wp-includes\taxonomy.php on line 289

    Tried installing older versions, but got the same result. I didn’t get this error when I installed the very first “0.1” release, though.

    Other plugins have the same problem; seems to be a WP 3.0 compatibility issue?

    http://wordpress.org/extend/plugins/assignment-desk/

Viewing 1 replies (of 1 total)
  • This happened because rewrites are turned on for the custom taxonomies that AD is registering (and I assume because the taxonomies are being registered before the ‘init’ action is called). At the least, adding ‘rewrite’ => false to your register_taxonomy args should fix this.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Assignment Desk] Call to a member function add_rewrite_tag() on a non-object’ is closed to new replies.
Skip to toolbar