民审-M

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

作者:民审-M   发布时间:2017-07-17 15:31   回复数:45   浏览数:1722
民审-M
172245民审-M金牌草根
热门 2017-07-17 15:31:35
172245 热门 2017-07-17 15:31:35
本帖最后由 民审-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 解决办法:


适用于:
第38团:DZ建站学习研究分享S!微信登录 3.1.1 草根吧开源版不加密 支持X3.4 支持PHP7.x 支持https
https://www.cgzz8.cn/t-19093-1-1.html
(出处: 草根吧)


如图所示:
Discuz! System Error
[color=rgb(0, 0, 0)]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
[color=rgb(0, 0, 0)]PHP Debug
[table=98%,rgb(170, 170, 170)]
[tr=rgb(238, 238, 238)][td]No.[/td][td]File[/td][td]Line[/td][td]Code[/td][/tr]
[tr=rgb(255, 255, 204)][td]1[/td][td]index.php[/td][td]130[/td][td]require(%s)[/td][/tr]
[tr=rgb(255, 255, 204)][td]2[/td][td]portal.php[/td][td]32[/td][td]require_once(%s)[/td][/tr]
[tr=rgb(255, 255, 204)][td]3[/td][td]source/module/portal/portal_index.php[/td][td]32[/td][td]include_once(%s)[/td][/tr]
[tr=rgb(255, 255, 204)][td]4[/td][td]data/template/49_diy_portal_index.tpl.php[/td][td]1[/td][td]hookscriptoutput(%s)[/td][/tr]
[tr=rgb(255, 255, 204)][td]5[/td][td]source/function/function_core.php[/td][td]1214[/td][td]hookscript(%s, %s)[/td][/tr]
[tr=rgb(255, 255, 204)][td]6[/td][td]source/function/function_core.php[/td][td]1177[/td][td]plugin_singcere_wechat->global_login_extra(Array)[/td][/tr]
[tr=rgb(255, 255, 204)][td]7[/td][td]source/plugin/singcere_wechat/singcere_wechat.class.php[/td][td]163[/td][td]singcere_wechat_tpl_login_extra_bar()[/td][/tr]
[tr=rgb(255, 255, 204)][td]8[/td][td]data/template/49_singcere_wechat_module.tpl.php[/td][td]10[/td][td]break()[/td][/tr]
[/table]


解决办法:
source/plugin/singcere_wechat/singcere_wechat.class.php:
查找:(163行)
本部分内容设定了隐藏,需要回复后才能看到


王众
沙发王众步入草根 2018-11-26 15:55
这个看看先  
loveEthan
板凳loveEthan步入草根 2018-11-12 17:09
我要看看 大神是怎么解决的
蝉息
地板蝉息步入草根 2018-11-11 23:16
Too few arguments to function singcere_wechat报错php7 https
新青年农民工
4楼新青年农民工步入草根 2018-10-16 23:43
微信登录 3.1.1Too few arguments to function singcere_wechat报错
夜风来袭
5楼夜风来袭步入草根 2018-10-10 23:52
1Too few arguments
孤九
6楼孤九步入草根 2018-09-14 00:31
感谢楼主的分享。厉害了
zhehang
7楼zhehang步入草根 2018-09-05 15:58
瞅瞅。。。。。。。
zjwang123
8楼zjwang123步入草根 2018-07-17 10:00
看看,我也出现了这个问题
813711465@qq.co
9楼813711465@qq.co步入草根 2018-06-13 23:41
看下怎么处理
雨泣「●▽●
10楼雨泣「●▽●步入草根 2018-05-28 14:04
顶顶顶
帐号登录2
11楼帐号登录2步入草根 2018-05-11 10:43
#在这里快速回复#urce/plugin/singcere_wechat/singcere_wechat.class.php: 查找:(163行)
新灵璧网
12楼新灵璧网终身ViP 2018-05-07 19:17
学习学习
就看见你看见了
13楼就看见你看见了步入草根 2018-05-06 15:07
谢谢分享
xnlypp
14楼xnlypp步入草根 2018-05-03 17:33
uments to function singcere参与/回复主题关闭
RE: S!微信登录 3.1.1Too few ar
游客
登录后才可以回帖,登录 或者 注册