Hall of Fame Error

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Hall of Fame Error

      Source Code

      1. Message: A non well formed numeric value encountered
      2. File: /cache/templates/de^ac344bdd140bb91dca9f0e840cc6db0bc3c80d48.page.battleHall.default.tpl.php
      3. Line: 446
      4. URL: https://rickysucks.space/2moons/game.php?page=battleHall
      5. PHP-Version: 7.2.1
      6. PHP-API: cgi-fcgi
      7. 2Moons Version: 1.9.git
      8. Debug Backtrace:
      9. #0 /cache/templates/de^ac344bdd140bb91dca9f0e840cc6db0bc3c80d48.page.battleHall.default.tpl.php(446): errorHandler(8, 'A non well form...', 'FILEPATH ...', 446, Array)
      10. #1 /includes/libs/Smarty/sysplugins/smarty_template_resource_base.php(128): content_5a6209f4f2bb11_34102093(Object(Smarty_Internal_Template))
      11. #2 /includes/libs/Smarty/sysplugins/smarty_internal_runtime_updatecache.php(103): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
      12. #3 /includes/libs/Smarty/sysplugins/smarty_template_cached.php(142): Smarty_Internal_Runtime_UpdateCache->updateCache(Object(Smarty_Template_Cached), Object(Smarty_Internal_Template), false)
      13. #4 /includes/libs/Smarty/sysplugins/smarty_internal_template.php(179): Smarty_Template_Cached->render(Object(Smarty_Internal_Template), false)
      14. #5 /includes/libs/Smarty/sysplugins/smarty_internal_templatebase.php(199): Smarty_Internal_Template->render(false, 1)
      15. #6 /includes/libs/Smarty/sysplugins/smarty_internal_templatebase.php(114): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 1)
      16. #7 /includes/classes/class.template.php(137): Smarty_Internal_TemplateBase->display('extends:layout....')
      17. #8 /includes/pages/game/AbstractGamePage.class.php(249): template->display('extends:layout....')
      18. #9 /includes/pages/game/ShowBattleHallPage.class.php(86): AbstractGamePage->display('page.battleHall...')
      19. #10 /game.php(57): ShowBattleHallPage->show()
      20. #11 {main}
      Display All
      I get this error whenever I click on the Hall of Fame button. This is in 2Moons 1.9. Can someone help me fix this? Thanks!
    • Danter14 wrote:

      watch out the game is not made for php version 7.2
      actually the game can be very easily adapted to 7.X+ . it may take an hour or less. Because if you are a composer user, there is a php script that allows you to see which functions will not work in your code (in this case, game), comparing them to the latest php release.

      there's only a few codes deprecated that can be easily changed if you follow on php website what is new.
    • the latest is always the best..but you will need to changed some stuff around as many or some have become obsolete check these out before u do anything....plus the older 2moons is optimized for php 5.XXX

      auth0.com/blog/migrating-a-php5-app-to-7-part-three/

      phptester.net/