Forums » 3rd Party Product Discussions

Getting error when deleting certain profile

    • 76 posts
    January 15, 2021 8:54 AM EST

    Have anyone else having issue with deleting certain profiles? Not all profiles are giving me issue but particularly the ones that have been on the site for so long and were pretty active usually give me error when I try to remove them. For instance, today I get an error like this when trying to deleting an account

    2021-01-15T13:48:13+00:00 ERR (3): Error Code: dda2ba
    Error: Call to a member function getType() on null in /var/www/vhosts/xxxx/httpdocs/application/modules/Core/Model/Comment.php:124
    Stack trace:
    #0 /var/www/vhosts/xxxx/httpdocs/application/libraries/Zend/Db/Table/Row/Abstract.php(632): Core_Model_Comment->_postDelete()
    #1 /var/www/vhosts/xxxx/httpdocs/application/modules/Seaocore/Plugin/Core.php(80): Zend_Db_Table_Row_Abstract->delete()
    #2 /var/www/vhosts/xxxx/httpdocs/application/libraries/Engine/Hooks/Dispatcher.php(224): Seaocore_Plugin_Core->onActivityCommentDeleteBefore(Object(Engine_Hooks_Event))
    #3 /var/www/vhosts/xxxx/httpdocs/application/modules/Core/Model/Item/Abstract.php(581): Engine_Hooks_Dispatcher->callEvent('onActivityComme...', Object(Engine_Hooks_Event))
    #4 /var/www/vhosts/xxxx/httpdocs/application/modules/Core/Model/Comment.php(94): Core_Model_Item_Abstract->_delete()
    #5 /var/www/vhosts/xxxx/httpdocs/application/modules/Activity/Model/Comment.php(33): Core_Model_Comment->_delete()
    #6 /var/www/vhosts/xxxx/httpdocs/application/libraries/Zend/Db/Table/Row/Abstract.php(610): Activity_Model_Comment->_delete()
    #7 /var/www/vhosts/xxxx/httpdocs/application/modules/Advancedactivity/Plugin/Core.php(145): Zend_Db_Table_Row_Abstract->delete()
    #8 /var/www/vhosts/xxxx/httpdocs/application/libraries/Engine/Hooks/Dispatcher.php(224): Advancedactivity_Plugin_Core->onItemDeleteBefore(Object(Engine_Hooks_Event))
    #9 /var/www/vhosts/xxxx/httpdocs/application/modules/Core/Model/Item/Abstract.php(583): Engine_Hooks_Dispatcher->callEvent('onItemDeleteBef...', Object(Engine_Hooks_Event))
    #10 /var/www/vhosts/xxxx/httpdocs/application/modules/User/Model/User.php(418): Core_Model_Item_Abstract->_delete()
    #11 /var/www/vhosts/xxxx/httpdocs/application/libraries/Zend/Db/Table/Row/Abstract.php(610): User_Model_User->_delete()
    #12 /var/www/vhosts/xxxx/httpdocs/application/modules/User/controllers/AdminManageController.php(296): Zend_Db_Table_Row_Abstract->delete()
    #13 /var/www/vhosts/xxxx/httpdocs/application/libraries/Zend/Controller/Action.php(516): User_AdminManageController->deleteAction()
    #14 /var/www/vhosts/xxxx/httpdocs/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('deleteAction')
    #15 /var/www/vhosts/xxxx/httpdocs/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #16 /var/www/vhosts/xxxx/httpdocs/application/modules/Core/Bootstrap.php(86): Zend_Controller_Front->dispatch()
    #17 /var/www/vhosts/xxxx/httpdocs/application/libraries/Engine/Application.php(160): Core_Bootstrap->run()
    #18 /var/www/vhosts/xxxx/httpdocs/application/index.php(223): Engine_Application->run()
    #19 /var/www/vhosts/xxxx/httpdocs/boot.php(47): include('/var/www/vhosts...')
    #20 /var/www/vhosts/xxxx/httpdocs/index.php(24): Engine_Boot->boot()
    #21 {main}

     

    • Moderator
    • 5938 posts
    January 15, 2021 8:57 AM EST

    The error message shows that it goes to SocialEngineAddOns core. You'll need to get with them. It also shows an issue with their advanced activity feed. Perhaps there's an update you may need to apply.

     

    • 76 posts
    January 15, 2021 9:08 AM EST

    Yes but then i also get an error like this as well

    Error: Call to a member function getType() on null in /var/www/vhosts/xxxx/httpdocs/application/modules/Core/Model/Like.php:84
    Stack trace:
    #0 /var/www/vhosts/xxxx/httpdocs/application/libraries/Zend/Db/Table/Row/Abstract.php(632): Core_Model_Like->_postDelete()
    #1 /var/www/vhosts/xxxx/httpdocs/application/modules/Core/Plugin/Core.php(108): Zend_Db_Table_Row_Abstract->delete()
    #2 /var/www/vhosts/xxxx/httpdocs/application/libraries/Engine/Hooks/Dispatcher.php(224): Core_Plugin_Core->onItemDeleteBefore(Object(Engine_Hooks_Event))
    #3 /var/www/vhosts/xxxx/httpdocs/application/modules/Core/Model/Item/Abstract.php(583): Engine_Hooks_Dispatcher->callEvent('onItemDeleteBef...', Object(Engine_Hooks_Event))
    #4 /var/www/vhosts/xxxx/httpdocs/application/modules/User/Model/User.php(418): Core_Model_Item_Abstract->_delete()
    #5 /var/www/vhosts/xxxx/httpdocs/application/libraries/Zend/Db/Table/Row/Abstract.php(610): User_Model_User->_delete()
    #6 /var/www/vhosts/xxxx/httpdocs/application/modules/User/controllers/AdminManageController.php(296): Zend_Db_Table_Row_Abstract->delete()
    #7 /var/www/vhosts/xxxx/httpdocs/application/libraries/Zend/Controller/Action.php(516): User_AdminManageController->deleteAction()
    #8 /var/www/vhosts/xxxx/httpdocs/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('deleteAction')
    #9 /var/www/vhosts/xxxx/httpdocs/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #10 /var/www/vhosts/xxxx/httpdocs/application/modules/Core/Bootstrap.php(86): Zend_Controller_Front->dispatch()
    #11 /var/www/vhosts/xxxx/httpdocs/application/libraries/Engine/Application.php(160): Core_Bootstrap->run()
    #12 /var/www/vhosts/xxxx/httpdocs/application/index.php(223): Engine_Application->run()
    #13 /var/www/vhosts/xxxx/httpdocs/boot.php(47): include('/var/www/vhosts...')
    #14 /var/www/vhosts/xxxx/httpdocs/index.php(24): Engine_Boot->boot()
    #15 {main}

     

    What i ended up eventually was going into the database and opening up the table _core_likes and deleting all the rows with poster_id that I wanted to remove and eventually able to delete the profile in admin settings

    • Moderator
    • 5938 posts
    January 15, 2021 9:31 AM EST

    Since you have their plugins, you really should get with them. Their products have their own likes, comments, etc for the feed and the last time this issue happened, it was due to that.