ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Error removing Moblog module

July 12, 2011 6:34am

Subscribe [2]
  • #1 / Jul 12, 2011 6:34am

    pwg

    37 posts

    In an attempt to speed up my CP I’ve tried removing unused/little-used add-ons.

    I get this error when attempting to remove the Moblog module:

    ——————<snip>—————————

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined variable: query

    Filename: moblog/upd.moblog.php

    Line Number: 118

    Fatal error: Call to a member function row() on a non-object in /users/home/pwg/web/public/syntagm/expressionengine/modules/moblog/upd.moblog.php on line 118

    ————————————————————

  • #2 / Jul 12, 2011 5:21pm

    Kevin Smith

    4784 posts

    Hi Peter,

    I’m able to replicate this, so I’ve posted a bug report for you here. Just to confirm, which version EE is this problem appearing in?

  • #3 / Jul 12, 2011 5:47pm

    pwg

    37 posts

    HI Kevin,

    Thank you. 2.2.1, as you guessed. I’m regretting the upgrade.

    P

  • #4 / Jul 12, 2011 5:54pm

    Kevin Smith

    4784 posts

    Sorry to hear that, Peter. Other than this issue, is there anything else new with the 2.2.1 upgrade that’s causing you grief?

    While this particular bug is a real annoyance, it’s not a show-stopper. You should be able to just ignore this until the next maintenance release comes out. If there’s anything bigger going on since your upgrade, though, we definitely want to address it.

  • #5 / Jul 12, 2011 6:01pm

    pwg

    37 posts

    No, removing a module is not a show-stopper. But this and this have slowed my show to a crawl and its driving me nuts.

    Peter

  • #6 / Jul 12, 2011 6:09pm

    Wes Baker

    343 posts

    Peter,

    The moblog uninstall error is a quick fix. Take a look at system/expressionengine/modules/moblog/upd.moblog.php at line 118 and you’ll see this:

    $this->EE->db->delete('module_member_groups', array('module_id' => $query->row('module_id')));

    Replace that line with this:

    $this->EE->db->delete('module_member_groups', array('module_id' => $qry->row('module_id')));

    Wes

  • #7 / Jul 12, 2011 6:14pm

    Kevin Smith

    4784 posts

    Wow, thanks for the quick fix, Wes!

    Peter, I’m on the case for the other two threads you linked to. I’ll close this one out since it’s resolved, but we’ll continue the support discussions on the existing threads. Thanks again for your patience!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases