Jump to content

(SOLUCIONADO) Problemas facebookpsshoptab.php


Joankarll

Recommended Posts

Buenas, tengo instalado el módulo Facebook PS Shop.   En mi página Web al pulsar en cualquier producto me sale la pantalla en blanco. He activado el Debug de errores y me sale lo siguiente:

 

Notice: Undefined variable: smarty in /home/arcaerot/public_html/modules/facebookpsshoptab/facebookpsshoptab.php on line 2377

Fatal error: Call to a member function assign() on a non-object in /home/arcaerot/public_html/modules/facebookpsshoptab/facebookpsshoptab.php on line 2377

--------------------------------------------------------------------------------------

Que viene a ser esta línea: 

$smarty->assign(array(            <---Ésta es la línea 2377. Pero no se que es lo que está mal!.

'OG_TITLE' => stripslashes($product->name),
'OG_URL' => strval($rewrited_url),
'OG_IMAGE' => strval($image_link),
'OG_SITE_NAME' => stripslashes(Configuration::get('PS_SHOP_NAME')),
'OG_APP_ID' => $this->_configuration['FBPSSHOPTAB_APP_ID'],
'OG_DESCRIPTION' => stripslashes(strip_tags($product->meta_description)),
'OG_BRAND' => $product->manufacturer_name,
'OG_RETAILER' => Configuration::get('PS_SHOP_NAME'),
'OG_CATEGORY' => $product->category,
'OG_UPC' => $product->upc,
'OG_EAN' => $product->ean13,
'OG_PRICE' => number_format($product->price, 2, ',', ','),
----------------------------------------------------------------------------------------
 
No consigo dar con la tela, no he visto ningún Topic con este asunto. He probado a eliminar la línea 2377 y entonces me salta el error a la 2378... y así sucesivamente. He probado a eliminar el archivo facebookpsshoptab.php por completo y si me deja ver los productos en mi Web,el problema es, que en mi página de Facebook sección tienda me salen otro millar de errores. A ver si alguien me puede ayudar.
 
Mi versión de prestashop es: PrestaShop™ 1.5.6.1
 
Un saludo y gracias!.
Edited by Joankarll (see edit history)
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...