Warning: strpos() expects parameter 1 to be string, array given  in /var/www/html/moodnew/app/code/local/Amasty/Xnotif/Model/Observer.php on line 32

#0 [internal function]: mageCoreErrorHandler(2, 'strpos() expect...', '/var/www/html/m...', 32, Array)
#1 /var/www/html/moodnew/app/code/local/Amasty/Xnotif/Model/Observer.php(32): strpos(Array, 'alert-stock')
#2 /var/www/html/moodnew/app/code/core/Mage/Core/Model/App.php(1358): Amasty_Xnotif_Model_Observer->handleBlockAlert(Object(Varien_Event_Observer))
#3 /var/www/html/moodnew/app/code/core/Mage/Core/Model/App.php(1337): Mage_Core_Model_App->_callObserverMethod(Object(Amasty_Xnotif_Model_Observer), 'handleBlockAler...', Object(Varien_Event_Observer))
#4 /var/www/html/moodnew/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('core_block_abst...', Array)
#5 /var/www/html/moodnew/app/code/core/Mage/Core/Block/Abstract.php(947): Mage::dispatchEvent('core_block_abst...', Array)
#6 /var/www/html/moodnew/app/code/local/BFM/All/Block/Ajax.php(23): Mage_Core_Block_Abstract->toHtml()
#7 /var/www/html/moodnew/app/code/core/Mage/Core/Block/Abstract.php(923): BFM_All_Block_Ajax->_toHtml()
#8 /var/www/html/moodnew/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#9 /var/www/html/moodnew/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#10 /var/www/html/moodnew/app/code/local/BFM/Moodboard/controllers/ProductController.php(189): Mage_Core_Controller_Varien_Action->renderLayout()
#11 /var/www/html/moodnew/app/code/local/BFM/Moodboard/controllers/ProductController.php(33): BFM_Moodboard_ProductController->_checkAuth()
#12 /var/www/html/moodnew/app/code/core/Mage/Core/Controller/Varien/Action.php(418): BFM_Moodboard_ProductController->indexAction()
#13 /var/www/html/moodnew/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
#14 /var/www/html/moodnew/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#15 /var/www/html/moodnew/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#16 /var/www/html/moodnew/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#17 /var/www/html/moodnew/index.php(118): Mage::run('', 'store')
#18 {main}