Home > Backend Development > PHP Tutorial > typecho Call to undefined method Typecho_Common::lockHTML()

typecho Call to undefined method Typecho_Common::lockHTML()

WBOY
Release: 2016-06-06 20:40:49
Original
1336 people have browsed it

<code>Fatal error: Call to undefined method Typecho_Common::lockHTML() in /home/ftp/s/sptime/blog/usr/plugins/HightlightTag/Plugin.php on line 76
</code>
Copy after login
Copy after login

首页文章内容就显示这个,打开后也是这个

回复内容:

<code>Fatal error: Call to undefined method Typecho_Common::lockHTML() in /home/ftp/s/sptime/blog/usr/plugins/HightlightTag/Plugin.php on line 76
</code>
Copy after login
Copy after login

首页文章内容就显示这个,打开后也是这个

调用错误,文章中是否出现了调用HightlightTag代码高亮插件,如是请检查是否支持当前Typecho版本,或手动在模板中添加代码高亮插件避免出现该类问题。

调用错误。当前Typecho版本中没有此函数,所以此函数肯定是来自你使用的插件。请确认下是否开启对应的插件,或者你使用的插件是否和typecho版本兼容。http://www.typechodev.com/index.php/archives/25/

5.2补充:
原因是当前typecho版本已经移除了lockHTML函数,请同步修改插件代码。修改方法请参考《七牛CDN插件-优化后可用》中的方法。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template