douxi9245 2013-01-09 17:37
浏览 29
已采纳

WAMP localhost上的Wordpress不会让安装模板

I have an issue here with Wordpress themes, I get an error no matter what theme I try to install.

Fatal error: Call to undefined function of_get_option() in C:\wamp\www\wp-content\themes\Monaco\slide.php on line 4
Call Stack
#   Time    Memory  Function    Location
1   0.0007  669088  {main}( )   ..\index.php:0
2   0.0011  673872  require( 'C:\wamp\www\wp-blog-header.php' ) ..\index.php:17
3   0.4489  27395224    require_once( 'C:\wamp\www\wp-includes\template-loader.php' )   ..\wp-blog-header.php:16
4   0.4516  27410496    include( 'C:\wamp\www\wp-content\themes\Monaco\index.php' ) ..\template-loader.php:47
5   0.4787  27444544    get_template_part( )    ..\index.php:17
6   0.4787  27445320    locate_template( )  ..\general-template.php:128
7   0.4791  27445432    load_template( )    ..\template.php:381
8   0.4796  27472472    require( 'C:\wamp\www\wp-content\themes\Monaco\slide.php' ) ..\template.php:407

I´m getting pretty depressed about the issue and can´t figure out what might be causing this. I reinstalled Wordpress for twice and tried with different templates, still no good. It seems to word fine with themes included by Wordpress but won´t work out with any other.

Can anyone please help me out. Thank you in advance.

  • 写回答

1条回答 默认 最新

  • dsjws44266 2013-01-09 17:46
    关注

    The issue is definitely related to the themes you're trying to install. They refer to a function (of_get_option()) that doesn't exist in the standard WordPress installation.

    Fortunately there's a forum post with a similar issue here: WP Support Forums.

    The function belongs to a plugin. Hope this helps.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
  • ¥15 安装svn网络有问题怎么办