Forum Forum Magento Theme SNS Paris – Magento Theme SNS Filter disable for mobile theme

  • Author
    Posts
  • #30867

    tissu
    Participant

    Hi, thank you for your theme.

    We use Aheadworks IPhone theme for our mobile version with SNS Paris on desktop.

    Now we have that problem: when I click “Show 20 more” on mobile version (ajax) it return 500 error. In php-fpm logs I see:

    
    #6 {main}
      thrown in /home/tissu/public_html/app/code/local/Sns/Ajaxfilter/controllers/Catalog/CategoryController.php on line 52
    [06-Sep-2017 10:24:57 UTC] PHP Fatal error:  Uncaught Error: Call to a member function toHtml() on boolean in /home/tissu/public_html/app/code/local/Sns/Ajaxfilter/controllers/Catalog/CategoryController.php:52
    Stack trace:
    #0 /home/tissu/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Sns_Ajaxfilter_Catalog_CategoryController->viewAction()
    #1 /home/tissu/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
    #2 /home/tissu/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    #3 /home/tissu/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
    #4 /home/tissu/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
    #5 /home/tissu/public_html/index.php(83): Mage::run('', 'store')
    #6 {main}
      thrown in /home/tissu/public_html/app/code/local/Sns/Ajaxfilter/controllers/Catalog/CategoryController.php on line 52
    

    When I disable Sns_Ajaxfilter.xml in app/etc/modules it works.

    How I can disable SNS Ajaxfilter only for mobile theme? I was write empty .xml to app/design/frontend/aw_module3/default/layout/sns/ajaxfilter.xml but error repeated.

    Thank you.

You must be logged in to reply to this topic. Click here to login or register