Fehler beim Installieren von 2moons master und steamnova master

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

    • Fehler beim Installieren von 2moons master und steamnova master

      Bei jeglicher Version zu installieren entsteht dieser Fehler:
      Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Language::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /users/heckelmark/www/includes/classes/Language.class.php:185 Stack trace: #0 /users/heckelmark/www/includes/classes/Language.class.php(18): errorHandler(8192, 'Return type of ...', '/users/heckelma...', 185) #1 /users/heckelmark/www/includes/common.php(57): require('/users/heckelma...') #2 /users/heckelmark/www/install/index.php(23): require('/users/heckelma...') #3 {main} in /users/heckelmark/www/includes/classes/Language.class.php on line 18
    • go2moons wrote:

      PHP 8 exist since 2020...
      Yes and ? nobody has worked on the source code of 2 moons to make it compatible with the new php versions so I don't see the report of your post.
    • flasher24 wrote:

      Bei jeglicher Version zu installieren entsteht dieser Fehler:
      Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Language::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /users/heckelmark/www/includes/classes/Language.class.php:185 Stack trace: #0 /users/heckelmark/www/includes/classes/Language.class.php(18): errorHandler(8192, 'Return type of ...', '/users/heckelma...', 185) #1 /users/heckelmark/www/includes/common.php(57): require('/users/heckelma...') #2 /users/heckelmark/www/install/index.php(23): require('/users/heckelma...') #3 {main} in /users/heckelmark/www/includes/classes/Language.class.php on line 18
      You will be able to sort out your issue with the following link: php.watch/versions/8.1/internal-method-return-types
      And this is the file that you need to fix the ArrayAccess that is implemented in the class: github.com/jkroepke/2Moons/blo…lasses/Language.class.php