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 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥15 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条