12345下一页
返回列表 发新帖
查看: 1753|回复: 45

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

[复制链接]

1万

热度

1万

元宝

1万

贡献

金牌草根

发表于 2017-7-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行)
游客,如果您要查看本帖隐藏内容请回复


本文来源于网友学习研究交流 www.caogen8.co,请以学习研究交流为主。
如果您没有贡献积分,可以直接免费领取,免费领取
如果你需要加入本学习研究交流,请以学习研究交流为目的,免责声明
如果找不到您要的资源,请搜索一下,点击搜索

3

热度

11

元宝

0

贡献

步入草根

发表于 2017-7-17 20:47:05 | 显示全部楼层
微信登录 3.1.1Too few arguments to function singcere_wechat报错

124

热度

517

元宝

57

贡献

终身ViP

发表于 2017-7-20 14:00:03 | 显示全部楼层
着是个啥子情况

5

热度

11

元宝

0

贡献

步入草根

发表于 2017-7-26 11:08:11 | 显示全部楼层
o function singcere_wechat报错

20

热度

79

元宝

7

贡献

步入草根

发表于 2017-7-29 01:33:20 | 显示全部楼层
啊啊啊啊啊啊啊啊

2

热度

12

元宝

0

贡献

步入草根

发表于 2017-8-3 21:42:38 | 显示全部楼层
謝謝LZ
趕緊來觀看下

407

热度

876

元宝

85

贡献

步入草根

发表于 2017-8-7 03:42:17 | 显示全部楼层
谢谢分享

135

热度

725

元宝

41

贡献

学习ViP(审查中)

发表于 2017-8-10 09:31:45 | 显示全部楼层
感谢分享

32

热度

265

元宝

6

贡献

步入草根

发表于 2017-8-16 19:07:05 | 显示全部楼层
啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊

52

热度

157

元宝

37

贡献

步入草根

发表于 2017-8-20 20:57:00 | 显示全部楼层
试一试看看
下一页 »
12345下一页
返回列表 发新帖
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|草根吧