zoukankan      html  css  js  c++  java
  • 又一个错误" Fatal error: Call to undefined function myabp_print_screenshot_all() "

    xxx

     ( ! ) Fatal error: Call to undefined function myabp_print_screenshot_all() in D:wampwwwwp-content hemesarcadexlsgames-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:wampwwwwp-blog-header.php' )    ..index.php:17
    3    0.5312    34037544    require_once( 'D:wampwwwwp-includes emplate-loader.php' )    ..wp-blog-header.php:16
    4    0.5312    34037632    do_action( )    .. emplate-loader.php:12
    5    0.5371    34056304    call_user_func_array:{D:wampwwwwp-includesplugin.php:496} ( )    ..plugin.php:496
    6    0.5371    34056384    arcadexls_play_template_redirect( )    ..plugin.php:496
    7    0.5371    34056576    get_template_part( )    .. emplate_redirect.php:118
    8    0.5371    34057440    locate_template( )    ..general-template.php:171
    9    0.5371    34057624    load_template( )    .. emplate.php:477
    10    0.5381    34074760    require( 'D:wampwwwwp-content hemesarcadexlssingle-play.php' )    .. emplate.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( )    .. emplate.php:477
    14    1.2851    35752256    require( 'D:wampwwwwp-content hemesarcadexlsgames-play.php' )    .. emplate.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'); ?>

  • 相关阅读:
    37.js----浅谈js原型的理解
    iOS
    iOS
    iOS
    python3
    ios
    iOS
    python3
    python3
    iOS
  • 原文地址:https://www.cnblogs.com/cuizhf/p/4554374.html
Copyright © 2011-2022 走看看