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.

Can not remove Moblog module

August 14, 2011 9:41pm

Subscribe [4]
  • #1 / Aug 14, 2011 9:41pm

    svedish

    93 posts

    Hi guys,

    I installed the Moblog module to see what it did and I now want to remove it, but I can’t. When i try to get rid of it I first get the usual Warning / sre you sure screen and when I press the button to remove it I get the following error.

    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 /home/user/www/domain.com/folder/system/expressionengine/modules/moblog/upd.moblog.php on line 118

    Nice! 😛

  • #2 / Aug 15, 2011 6:57am

    Dave @ Exp:resso

    465 posts

  • #3 / Aug 15, 2011 7:54am

    svedish

    93 posts

    Thanks Dave, so unless I want to reinstall, I guess I need to keep it?

  • #4 / Aug 15, 2011 8:34am

    Dave @ Exp:resso

    465 posts

    Yep looks like it!

  • #5 / Aug 15, 2011 8:59am

    Sue Crocker

    26054 posts

    Actually, you can put in a fix, which involves changing $query to $qry in the code for the module. Do you feel comfortable doing that?

  • #6 / Aug 15, 2011 10:12am

    svedish

    93 posts

    If you tell me exactly what to do, I’m happy to apply the fix. Please provide step by step. 😊

    Thanks

  • #7 / Aug 16, 2011 5:50pm

    Kevin Smith

    4784 posts

    If you feel comfortable doing so, look up line 118 in moblog/upd.moblog.php, and change this:

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

    to this:

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

    I’ve added the fix to the bug report as well.

  • #8 / Aug 16, 2011 6:36pm

    svedish

    93 posts

    Hi guys, applied fix as indicated. Worked all well. Thanks. 😊

  • #9 / Aug 16, 2011 6:37pm

    svedish

    93 posts

    Need 5 posts to start writing the EE User Guide! 😛

  • #10 / Aug 18, 2011 1:04pm

    Kevin Smith

    4784 posts

    Glad that took care of it for you, svedish! Anything else I can do, or is it ok to close thing one up?

  • #11 / Aug 18, 2011 1:29pm

    svedish

    93 posts

    Hi Kevin, all is ok now. Please go ahead with closing the thread.

  • #12 / Aug 18, 2011 1:30pm

    svedish

    93 posts

    And 100! 😛

  • #13 / Aug 19, 2011 6:08pm

    Kevin Smith

    4784 posts

    😊 Congrats!

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

ExpressionEngine News!

#eecms, #events, #releases