Fatal error: Uncaught TypeError: str_replace(): Argument #2 ($replace) must be of type string when argument #1 ($search) is a string in /home/bookopt/web/bookopt.com.ua/public_html/app/code/local/Ones/Seo/Model/Observer/Product.php:36 Stack trace: #0 /home/bookopt/web/bookopt.com.ua/public_html/app/code/local/Ones/Seo/Model/Observer/Product.php(36): str_replace() #1 /home/bookopt/web/bookopt.com.ua/public_html/app/code/core/Mage/Core/Model/App.php(1405): Ones_Seo_Model_Observer_Product->updateProductMeta() #2 /home/bookopt/web/bookopt.com.ua/public_html/app/code/core/Mage/Core/Model/App.php(1383): Mage_Core_Model_App->_callObserverMethod() #3 /home/bookopt/web/bookopt.com.ua/public_html/app/Mage.php(508): Mage_Core_Model_App->dispatchEvent() #4 /home/bookopt/web/bookopt.com.ua/public_html/app/code/core/Mage/Core/Model/Abstract.php(335): Mage::dispatchEvent() #5 /home/bookopt/web/bookopt.com.ua/public_html/app/code/core/Mage/Catalog/Model/Product.php(841): Mage_Core_Model_Abstract->_afterLoad() #6 /home/bookopt/web/bookopt.com.ua/public_html/app/code/core/Mage/Core/Model/Abstract.php(292): Mage_Catalog_Model_Product->_afterLoad() #7 /home/bookopt/web/bookopt.com.ua/public_html/app/code/core/Mage/Catalog/Helper/Product.php(318): Mage_Core_Model_Abstract->load() #8 /home/bookopt/web/bookopt.com.ua/public_html/app/code/core/Mage/Catalog/Helper/Product/View.php(118): Mage_Catalog_Helper_Product->initProduct() #9 /home/bookopt/web/bookopt.com.ua/public_html/app/code/core/Mage/Catalog/controllers/ProductController.php(126): Mage_Catalog_Helper_Product_View->prepareAndRender() #10 /home/bookopt/web/bookopt.com.ua/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(429): Mage_Catalog_ProductController->viewAction() #11 /home/bookopt/web/bookopt.com.ua/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(256): Mage_Core_Controller_Varien_Action->dispatch() #12 /home/bookopt/web/bookopt.com.ua/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(190): Mage_Core_Controller_Varien_Router_Standard->match() #13 /home/bookopt/web/bookopt.com.ua/public_html/app/code/core/Mage/Core/Model/App.php(374): Mage_Core_Controller_Varien_Front->dispatch() #14 /home/bookopt/web/bookopt.com.ua/public_html/app/Mage.php(742): Mage_Core_Model_App->run() #15 /home/bookopt/web/bookopt.com.ua/public_html/index.php(72): Mage::run() #16 {main} thrown in /home/bookopt/web/bookopt.com.ua/public_html/app/code/local/Ones/Seo/Model/Observer/Product.php on line 36