phuongvyhanghieu Posted September 5, 2016 Share Posted September 5, 2016 (edited) My product pages get a lot of crawl errors response code 500 from Googlebot. I enabled the Prestashop debug and found the following message: Fatal error: Call to undefined method Tools::getShopProtocol() in /home/phuongvy/public_html/modules/ultimategooglerichsnippets/ultimategooglerichsnippets.php on line 276 - Here is the codes on the line 276 of ultimategooglerichsnippets.php. 'product_image' => Tools::getShopProtocol() . $link->getImageLink($product->link_rewrite, Tools::getValue('id_product') . '-' . $cover_img['id_image']), Experts please help me how to fix the codes above. Prestashop 1.4.6.2. Thank you very much in advance. Phuongvyhanghieu Edited September 5, 2016 by phuongvyhanghieu (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted September 6, 2016 Share Posted September 6, 2016 If you look at the file causing the error you see that it is caused by the Ultimategooglerichsnippets module. So the best way forward is to ask the makers of that module. Link to comment Share on other sites More sharing options...
Tung at RockPOS.com Posted September 6, 2016 Share Posted September 6, 2016 As far as I understand,the method Tools::getShopProtocol() is only available on PS 1.5.x and above. In the other word, this version of module ultimategooglerichsnippets does not support PS 1.4.x. Link to comment Share on other sites More sharing options...
phuongvyhanghieu Posted September 6, 2016 Author Share Posted September 6, 2016 The problem was solved. Thank you all. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now