xxx
( ! ) Fatal error: Call to undefined function myabp_print_screenshot_all() in D:\wamp\www\wp-content\themes\arcadexls\games-play.php on line 135Call Stack# Time Memory Function Location1 0.0000 242504 {main}( ) ..\index.php:02 0.0000 245544 require( 'D:\wamp\www\wp-blog-header.php' ) ..\index.php:173 0.5312 34037544 require_once( 'D:\wamp\www\wp-includes\template-loader.php' ) ..\wp-blog-header.php:164 0.5312 34037632 do_action( ) ..\template-loader.php:125 0.5371 34056304 call_user_func_array:{D:\wamp\www\wp-includes\plugin.php:496} ( ) ..\plugin.php:4966 0.5371 34056384 arcadexls_play_template_redirect( ) ..\plugin.php:4967 0.5371 34056576 get_template_part( ) ..\template_redirect.php:1188 0.5371 34057440 locate_template( ) ..\general-template.php:1719 0.5371 34057624 load_template( ) ..\template.php:47710 0.5381 34074760 require( 'D:\wamp\www\wp-content\themes\arcadexls\single-play.php' ) ..\template.php:50311 1.2841 35682784 get_template_part( ) ..\single-play.php:812 1.2841 35683488 locate_template( ) ..\general-template.php:17113 1.2841 35683608 load_template( ) ..\template.php:47714 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'); ?>
转载于:https://www.cnblogs.com/cuizhf/p/4554374.html
相关资源:JAVA上百实例源码以及开源项目