Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

升级到 1.1.1 后 stl:photo 出现错误 #3

Open
liuxcoder opened this issue Sep 12, 2022 · 2 comments
Open

升级到 1.1.1 后 stl:photo 出现错误 #3

liuxcoder opened this issue Sep 12, 2022 · 2 comments

Comments

@liuxcoder
Copy link

No description provided.

@qmxle
Copy link

qmxle commented Oct 17, 2022

看页面源代码,下面是报错信息:
error: Method not found: 'System.String SSCMS.Utils.StringUtils.ParseString(System.String, System.String, System.String, Int32, Int32, Int32, System.String, Boolean, Boolean, Boolean, Boolean, System.String)'.

@qmxle
Copy link

qmxle commented Oct 17, 2022

原因是因为 SSCMS.dll 中 StringUtils.ParseString 确实和插件调用的方法不一样,前者比后者多了一个 bool isClearBlank 的参数。
临时的解决方法:把插件引用的这个方法,复制到主项目的 StringUtils.cs 中,重新编译,替换 SSCMS.dll。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants