2核1G3M服务器88一季度

腾讯云,阿里云百度云等 折扣价→点我←

S!微信登录 3.1.1Too few arguments to function singcere_wechat报错php7 https支持 discuz 教程

游客1 游客组

本帖最后由 民审-M 于 2017-7-17 15:32 编辑

S!微信登录 3.1.1 在php7 + https下报错:Too few arguments to function singcere_wechat_tpl_login_extra_bar(), 0 passed in 解决办法:
[backcolor=magenta]
[/backcolor]
[backcolor=magenta]适用于:[/backcolor]
第38团:DZ建站学习研究分享S!微信登录 3.1.1 站长窝开源版不加密 支持X3.4 支持PHP7.x 支持https
http://bbs.zhanzhangwo.com/t-19093-1-1.html
(出处: 站长窝)


如图所示:
Discuz! System Error
Too few arguments to function singcere_wechat_tpl_login_extra_bar(), 0 passed in /source/plugin/singcere_wechat/singcere_wechat.class.php on line 163 and exactly 1 expected
PHP Debug










No.FileLineCode
1index.php130require(%s)
2portal.php32require_once(%s)
3source/module/portal/portal_index.php32include_once(%s)
4data/template/49_diy_portal_index.tpl.php1hookscriptoutput(%s)
5source/function/function_core.php1214hookscript(%s, %s)
6source/function/function_core.php1177plugin_singcere_wechat->global_login_extra(Array)
7source/plugin/singcere_wechat/singcere_wechat.class.php163singcere_wechat_tpl_login_extra_bar()
8data/template/49_singcere_wechat_module.tpl.php10break()


解决办法:
source/plugin/singcere_wechat/singcere_wechat.class.php:
查找:(163行)

return singcere_wechat_tpl_login_extra_bar();
修改为:
return singcere_wechat_tpl_login_extra_bar(true);


站长窝论坛版权声明 1、本帖标题:S!微信登录 3.1.1Too few arguments to function singcere_wechat报错php7 https支持
2、论坛网址:站长窝论坛
3、站长窝论坛的资源部分来源于网络,如有侵权,请联系站长进行删除处理。
4、会员发帖仅代表会员个人观点,并不代表本站赞同其观点和对其真实性负责。
5、站长窝论坛一律禁止以任何方式发布或转载任何违法的相关信息,访客发现请向站长举报
6、本帖由游客1在站长窝论坛《程序综合区》版块原创发布, 转载请注明出处!
上一篇:没了
下一篇:没了
评论
最新回复 (45)
返回
发新帖
作者最近主题