Thread

Cannot delete MSM sites in rc1

November 26, 2017 10:31am

Subscribe [1]
  • #1 / Nov 26, 2017 10:31am

    Pedro Guimaraes's avatar

    Pedro Guimaraes

    163 posts

    Getting the following:

    Exception Caught
    
    Not unique alias 'Channel'.
    
    ee/EllisLab/ExpressionEngine/Service/Model/Query/Select.php:804
    
    Stack Trace: Please include when reporting this error
    
    #0 ee/EllisLab/ExpressionEngine/Service/Model/Query/Select.php(153): EllisLab\ExpressionEngine\Service\Model\Query\Select->storeAlias('Channel', 'ee:Channel')
    #1 ee/EllisLab/ExpressionEngine/Service/Model/Query/Select.php(750): EllisLab\ExpressionEngine\Service\Model\Query\Select->selectModel(Object(EllisLab\ExpressionEngine\Service\Database\Query), 'ee:Channel', 'Channel', true)
    #2 ee/EllisLab/ExpressionEngine/Service/Model/Query/Select.php(734): EllisLab\ExpressionEngine\Service\Model\Query\Select->recurseWiths(Object(EllisLab\ExpressionEngine\Service\Database\Query), 'ee:ChannelEntry', 'ee_m_ChannelEnt...', Array)
    #3 ee/EllisLab/ExpressionEngine/Service/Model/Query/Select.php(100): EllisLab\ExpressionEngine\Service\Model\Query\Select->processWiths(Object(EllisLab\ExpressionEngine\Service\Database\Query), 'ee:ChannelEntry', 'ee_m_ChannelEnt...')
    #4 ee/EllisLab/ExpressionEngine/Service/Model/Query/Select.php(46): EllisLab\ExpressionEngine\Service\Model\Query\Select->buildQuery()
    #5 ee/EllisLab/ExpressionEngine/Service/Model/DataStore.php(281): EllisLab\ExpressionEngine\Service\Model\Query\Select->run()
    #6 ee/EllisLab/ExpressionEngine/Service/Model/DataStore.php(227): EllisLab\ExpressionEngine\Service\Model\DataStore->runQuery('Select', Object(EllisLab\ExpressionEngine\Service\Model\Query\Builder))
    #7 ee/EllisLab/ExpressionEngine/Service/Model/Query/Builder.php(143): EllisLab\ExpressionEngine\Service\Model\DataStore->selectQuery(Object(EllisLab\ExpressionEngine\Service\Model\Query\Builder))
    #8 ee/EllisLab/ExpressionEngine/Service/Model/Query/Builder.php(62): EllisLab\ExpressionEngine\Service\Model\Query\Builder->fetch()
    #9 ee/EllisLab/ExpressionEngine/Service/Model/Query/Delete.php(382): EllisLab\ExpressionEngine\Service\Model\Query\Builder->all()
    #10 ee/EllisLab/ExpressionEngine/Service/Model/Query/Delete.php(69): EllisLab\ExpressionEngine\Service\Model\Query\Delete->EllisLab\ExpressionEngine\Service\Model\Query\{closure}(Object(EllisLab\ExpressionEngine\Service\Model\Query\Builder))
    #11 ee/EllisLab/ExpressionEngine/Service/Model/DataStore.php(281): EllisLab\ExpressionEngine\Service\Model\Query\Delete->run()
    #12 ee/EllisLab/ExpressionEngine/Service/Model/DataStore.php(257): EllisLab\ExpressionEngine\Service\Model\DataStore->runQuery('Delete', Object(EllisLab\ExpressionEngine\Service\Model\Query\Builder))
    #13 ee/EllisLab/ExpressionEngine/Service/Model/Query/Builder.php(86): EllisLab\ExpressionEngine\Service\Model\DataStore->deleteQuery(Object(EllisLab\ExpressionEngine\Service\Model\Query\Builder))
    #14 ee/EllisLab/ExpressionEngine/Service/Model/Model.php(391): EllisLab\ExpressionEngine\Service\Model\Query\Builder->delete()
    #15 [internal function]: EllisLab\ExpressionEngine\Service\Model\Model->delete()
    #16 ee/EllisLab/ExpressionEngine/Library/Data/Collection.php(85): call_user_func_array(Array, Array)
    #17 [internal function]: EllisLab\ExpressionEngine\Library\Data\Collection->EllisLab\ExpressionEngine\Library\Data\{closure}(Object(EllisLab\ExpressionEngine\Model\Site\Site))
    #18 ee/EllisLab/ExpressionEngine/Library/Data/Collection.php(244): array_map(Object(Closure), Array)
    #19 ee/EllisLab/ExpressionEngine/Library/Data/Collection.php(93): EllisLab\ExpressionEngine\Library\Data\Collection->map(Object(Closure))
    #20 ee/EllisLab/ExpressionEngine/Controller/Msm/Msm.php(516): EllisLab\ExpressionEngine\Library\Data\Collection->__call('delete', Array)
    #21 ee/EllisLab/ExpressionEngine/Controller/Msm/Msm.php(75): EllisLab\ExpressionEngine\Controller\Msm\Msm->remove(Array)
    #22 [internal function]: EllisLab\ExpressionEngine\Controller\Msm\Msm->index()
    #23 ee/EllisLab/ExpressionEngine/Core/Core.php(229): call_user_func_array(Array, Array)
    #24 ee/EllisLab/ExpressionEngine/Core/Core.php(109): EllisLab\ExpressionEngine\Core\Core->runController(Array)
    #25 ee/EllisLab/ExpressionEngine/Boot/boot.php(146): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))
    #26 public_html/tune.php(147): require_once('...')
    #26 public_html/tune.php(147): require_once('...')
    

ExpressionEngine News

#eecms, #events, #releases