I am new to Magento so any help would be appreciated. Whenever I click Catalog > Manage Products I get the error:

Fatal error: Call to a member function setData() on a non-object in /home/designac/public_html/app/code/local/Dac/MultiSku/Model/Observer.php on line 8

The code on line 8 in Observer.php is:

   $block->getColumn('sku')->setData('filter_condition_callback', array(

Any ideas?

  • 1
    The error is coming from a third-party extension that has something to do with SKU. You can uninstall or disable the extension Dac_MultiSku, if you no longer need it. You can also add this before line 8 if (!$block->getColumn('sku')) return; to bypass the observer.
    – kiatng
    Aug 6, 2018 at 23:43

1 Answer 1


change your code to

if($block->getColumn('sku')) {
  $block->getColumn('sku')->setData('filter_condition_callback', array('you_callback....'));

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.