Fatal error

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

    • Wen I finish install 2moons 2.0 and leave the admin panel y got this error:

      Fatal error: Uncaugth ErrorException: Undefine offset: 8192 in ...includes\GeneralFunctions.php: 506 Stack trace #0 ...includes\GeneralFunctions.php(506): errorHandler(8, 'Undefined offset..., '...includes\GeneralFunctions...', 506, Array) #1 [internal function]: exceptionHandler(Object(ErrorException)) #2 {main} thrown in ...includes\GeneralFunctions.php on line 506.

      I resolve this in the file common.php:

      Source Code: common.php

      1. require 'includes/GeneralFunctions.php';
      2. //set_exception_handler('exceptionHandler');

      but, why I had to comment the code to resolve the fatal error.

      After that a new Fatal error is launched:

      Fatal error: Uncaugth ErrorExeption: filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated in ...includes\pages\game\AbstractGamePage.class.php: 161 .....

      I resolve this in the file AbstactGamePage.class.php:

      PHP Source Code: AbstractGamePage.class.php

      1. //eliminated the 3er parameter
      2. 'hasBoard' => filter_var($config->forum_url, FILTER_VALIDATE_URL),
      Finally the game runs ^^ , but still got problems ;( , dont show the icons on the top panel but I post this in other treats :thumbup: