又一个错误" Fatal error: Call to undefined function myabp_print_screenshot_all() "
2015-06-05 13:02
941 查看
xxx
( ! ) Fatal error: Call to undefined function myabp_print_screenshot_all() in D:\wamp\www\wp-content\themes\arcadexls\games-play.php on line 135
Call Stack
# Time Memory Function Location
1 0.0000 242504 {main}( ) ..\index.php:0
2 0.0000 245544 require( 'D:\wamp\www\wp-blog-header.php' ) ..\index.php:17
3 0.5312 34037544 require_once( 'D:\wamp\www\wp-includes\template-loader.php' ) ..\wp-blog-header.php:16
4 0.5312 34037632 do_action( ) ..\template-loader.php:12
5 0.5371 34056304 call_user_func_array:{D:\wamp\www\wp-includes\plugin.php:496} ( ) ..\plugin.php:496
6 0.5371 34056384 arcadexls_play_template_redirect( ) ..\plugin.php:496
7 0.5371 34056576 get_template_part( ) ..\template_redirect.php:118
8 0.5371 34057440 locate_template( ) ..\general-template.php:171
9 0.5371 34057624 load_template( ) ..\template.php:477
10 0.5381 34074760 require( 'D:\wamp\www\wp-content\themes\arcadexls\single-play.php' ) ..\template.php:503
11 1.2841 35682784 get_template_part( ) ..\single-play.php:8
12 1.2841 35683488 locate_template( ) ..\general-template.php:171
13 1.2841 35683608 load_template( ) ..\template.php:477
14 1.2851 35752256 require( 'D:\wamp\www\wp-content\themes\arcadexls\games-play.php' ) ..\template.php:503
————————————————————————————————————————————————————————————————————
参考http://myarcadeplugin.com/documentation/developer-guide/
找到原因了
将<?php myabp_print_screenshot_all(130, 130, 'screen_thumb'); ?>替换为<?php myarcade_all_screenshots(130, 130, 'screen_thumb'); ?>
怀疑myabp_print_screenshot_all是之前版本的方法,毕竟官方给的例子都是错误的,见http://myarcadeplugin.com/documentation/developer-guide/
又single-pre-game.php用的是正确的<?php myarcade_all_screenshots(130, 130, 'screen_thumb'); ?>
( ! ) Fatal error: Call to undefined function myabp_print_screenshot_all() in D:\wamp\www\wp-content\themes\arcadexls\games-play.php on line 135
Call Stack
# Time Memory Function Location
1 0.0000 242504 {main}( ) ..\index.php:0
2 0.0000 245544 require( 'D:\wamp\www\wp-blog-header.php' ) ..\index.php:17
3 0.5312 34037544 require_once( 'D:\wamp\www\wp-includes\template-loader.php' ) ..\wp-blog-header.php:16
4 0.5312 34037632 do_action( ) ..\template-loader.php:12
5 0.5371 34056304 call_user_func_array:{D:\wamp\www\wp-includes\plugin.php:496} ( ) ..\plugin.php:496
6 0.5371 34056384 arcadexls_play_template_redirect( ) ..\plugin.php:496
7 0.5371 34056576 get_template_part( ) ..\template_redirect.php:118
8 0.5371 34057440 locate_template( ) ..\general-template.php:171
9 0.5371 34057624 load_template( ) ..\template.php:477
10 0.5381 34074760 require( 'D:\wamp\www\wp-content\themes\arcadexls\single-play.php' ) ..\template.php:503
11 1.2841 35682784 get_template_part( ) ..\single-play.php:8
12 1.2841 35683488 locate_template( ) ..\general-template.php:171
13 1.2841 35683608 load_template( ) ..\template.php:477
14 1.2851 35752256 require( 'D:\wamp\www\wp-content\themes\arcadexls\games-play.php' ) ..\template.php:503
————————————————————————————————————————————————————————————————————
参考http://myarcadeplugin.com/documentation/developer-guide/
找到原因了
将<?php myabp_print_screenshot_all(130, 130, 'screen_thumb'); ?>替换为<?php myarcade_all_screenshots(130, 130, 'screen_thumb'); ?>
怀疑myabp_print_screenshot_all是之前版本的方法,毕竟官方给的例子都是错误的,见http://myarcadeplugin.com/documentation/developer-guide/
又single-pre-game.php用的是正确的<?php myarcade_all_screenshots(130, 130, 'screen_thumb'); ?>
相关文章推荐
- Problem I: 最大连续子段和问题
- Hibernate核心接口
- oracle启动详解
- 享元模式(flyweight)
- ios 学习资料
- Bonjour 服务
- 攻克GRE数学中的图表题
- bfs模板
- 服务中onStartCommand方法返回值的作用
- HDU——2222 AC自动机(简单)
- EXE文件的加载过程
- 编写高性能的Lua代码
- LightOJ1009---Back to Underworld (bfs染色)
- QT实现2048小游戏
- 经典SQL语句大全
- 简述SQL结构化查询语言
- Problem E: [HNOI2004]打鼹鼠 D1 T1
- mysql 添加某个ip 允许访问
- Leetcode Problem.46—Permutations C++实现
- Theano3.3-练习之逻辑回归