Jump to content

Fatal error on product pages


phuongvyhanghieu

Recommended Posts

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 by phuongvyhanghieu (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...