我无法显示产品页面,因为我有一个错误:
致命错误:未捕获ArgumentCountError:函数SocialSharing :: hookDisplayRightColumnProduct()的参数太少,传入/home/admin/domains/domain.com/public_html/cache/smarty/compile/82/46/46/82464600fd7c3ffa279ca875a092ea2adffe15f9.file。第668行的product.tpl.php和/home/admin/domains/domain.com/public_html/modules/socialsharing/socialsharing.php:254中预期的1个堆栈跟踪:#0 /home/admin/domains/domain.com /public_html/cache/smarty/compile/82/46/46/82464600fd7c3ffa279ca875a092ea2adffe15f9.file.product.tpl.php(668):SocialSharing-> hookDisplayRightColumnProduct()#1 /home/admin/domains/domain.com/public_html/tools /smarty/sysplugins/smarty_internal_templatebase.php(188):content_5b98d98abba660_35020479(Object(Smarty_Custom_Template))#2 /home/admin/domains/domain.com/public_html/classes/SmartyCustom.php(110):Smarty_Internal_TemplateBase-> fetch('/ home / admin / dom ...',NULL,NULL,Object(SmartyCustom),false,true,false)#3 /home/admin/domains/domain.com/public_h第254行/home/admin/domains/domain.com/public_html/modules/socialsharing/socialsharing.php中的tml / classes / control
我清理prestashop缓存。我检查了社交共享模块,第254行:
public function hookDisplayRightColumnProduct($params)
{
return $this->hookDisplaySocialSharing();
}
问题出在哪儿 ?
亲切的问候
您好@Adam以下是可能性。
请查看此链接是否可以帮助您:https://www.prestashop.com/forums/topic/446840-native-module-social-sharing-not-work/