End of Support for Joomla 3 - Forum closed

[SOLVED] Fatal error: Declaration of Warp\...

Fatal error: Declaration of Warp\... was created by alias_al

Posted 3 years 2 weeks ago #28810
Hallo zusammen

Ich habe das Gusto/Adventures Template versuchweise auf meiner lokalen xampp-Installation (Win10, 64bit) installiert.

Im Frontend erhalte ich die Fehlermeldung:
Fatal error: Declaration of Warp\Dom\Element::before($data) must be compatible with DOMElement::before(...$nodes): void in D:\xampp\htdocs\Joomla3\templates\jp-gusto\warp\src\Warp\Dom\Element.php on line 108

Im Backend beim Versuch den Stil zu editieren:
Warning: Trying to access array offset on value of type int in D:\xampp\htdocs\Joomla3\templates\jp-gusto\warp\src\Warp\Config\Repository.php on line 243
Warning: Trying to access array offset on value of type int in D:\xampp\htdocs\Joomla3\templates\jp-gusto\warp\src\Warp\Config\Repository.php on line 243
Warning: Trying to access array offset on value of type int in D:\xampp\htdocs\Joomla3\templates\jp-gusto\warp\src\Warp\Config\Repository.php on line 243
Warning: Trying to access array offset on value of type int in D:\xampp\htdocs\Joomla3\templates\jp-gusto\warp\src\Warp\Config\Repository.php on line 243
Fatal error: Declaration of Warp\Dom\Element::before($data) must be compatible with DOMElement::before(...$nodes): void in D:\xampp\htdocs\Joomla3\templates\jp-gusto\warp\src\Warp\Dom\Element.php on line 10

Von Joomla habe ich ein wenig, von PHP gar keine Ahnung. Daher bin ich im Moment etwas ratlos.

Die Template-Voraussetzungen PHP Multibyte String support, PHP JSON support, PHP DOM XML support scheinen mir erfüllt. Multibyte ist in der php.ini aktiv, die anderen beiden sollten automatisch erfüllt sein.

Hier noch meine Joomla-System-Infos:
System:
PHP erstellt für Windows NT DESKTOP-BTI1TVD 10.0 build 18363 (Windows 10) AMD64
Datenbanktyp mysql
Datenbankversion 5.5.5-10.4.17-MariaDB
Datenbankzeichensatz utf8_general_ci
Datenbankverbindungszeichensatz utf8mb4_general_ci
PHP-Version 8.0.2
Webserver Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.2
PHP-Interface für den Webserver apache2handler
Joomla!-Version Joomla! 3.9.25 Stable [ Amani ] 02-March-2021 15:00 GMT
Joomla!-Plattform-Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

PHP:
PHP Version 8.0.2
System Windows NT DESKTOP-BTI1TVD 10.0 build 18363 (Windows 10) AMD64
Build Date Feb 3 2021 18:29:02
Build System Microsoft Windows Server 2016 Standard [10.0.14393]
Compiler Visual C++ 2019
Architecture x64
Configure Command cscript /nologo /e:jscript configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-pdo-oci=c:\php-snap-build\dep-aux\oracle\x64\instantclient_19_9\sdk, shared" "--with-oci8-12c=c:\php-snap-build\dep-aux\oracle\x64\instantclient_12_1\sdk, shared" "--with-oci8-19=c:\php-snap-build\dep-aux\oracle\x64\instantclient_19_9\sdk, shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--without-analyzer" "--with-pgo"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path no value
Loaded Configuration File D:\xampp\php\php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
PHP API 20200930
PHP Extension 20200930
Zend Extension 420200930
Zend Extension Build API420200930, TS, VS16
PHP Extension Build API20200930, TS, VS16
Debug Build no
Thread Safety enabled
Thread API Windows Threads
Zend Signal Handling disabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
IPv6 Support enabled
DTrace Support disabled
Registered PHP Streams php, file, glob, data, http, ftp, zip, compress.zlib, compress.bzip2, https, ftps, phar
Registered Stream Socket Transports tcp, udp, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, convert.*, consumed, dechunk, zlib.*, bzip2.*

Please Log in or Create an account to join the conversation.

Replied by alias_al on topic Fatal error: Declaration of Warp\...

Posted 3 years 2 weeks ago #28812
Ich habe die PHP-Version von 8 auf 7 runtergesetzt.
Jetzt scheint alles zu funktionieren.

Please Log in or Create an account to join the conversation.

Replied by alias_al on topic [SOLVED] Fatal error: Declaration of Warp\...

Posted 3 years 2 weeks ago #28813
Problem solved.

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License