Suche verursacht HTTP-Code 500
-
Liebe i-doit Community,
ich nutze i-Doit 30 auf Ubuntu 22.04 mit PHP 8.1Bei der Suche über das Suchfeld erhalte ich folgenden Fehler:
Auszug aus /var/log/apache2/error.log
[Mon Jun 10 09:39:33.722230 2024] [php:error] [pid 3817419] [client 10.25.26.241:53394] PHP Fatal error: Uncaught TypeError: idoit\\Module\\Search\\Index\\DocumentMetadata::createInstanceFromArray(): Argument #1 ($data) must be of type array, null given, called in /var/www/html/i-doit/src/classes/modules/search/src/Query/Engine/Mysql/Query.php on line 199 and defined in /var/www/html/i-doit/src/classes/modules/search/src/Index/DocumentMetadata.php:111\nStack trace:\n#0 /var/www/html/i-doit/src/classes/modules/search/src/Query/Engine/Mysql/Query.php(199): idoit\\Module\\Search\\Index\\DocumentMetadata::createInstanceFromArray()\n#1 /var/www/html/i-doit/src/classes/modules/search/src/Query/Engine/Mysql/SearchEngine.php(36): idoit\\Module\\Search\\Query\\Engine\\Mysql\\Query->search()\n#2 /var/www/html/i-doit/src/classes/modules/search/src/Query/QueryManager.php(102): idoit\\Module\\Search\\Query\\Engine\\Mysql\\SearchEngine->search()\n#3 /var/www/html/i-doit/src/classes/modules/search/src/Controller/Main.php(81): idoit\\Module\\Search\\Query\\QueryManager->search()\n#4 /var/www/html/i-doit/src/idoit/Controller/CatchallController.php(106): idoit\\Module\\Search\\Controller\\Main->handle()\n#5 /var/www/html/i-doit/src/classes/core/isys_request_controller.class.php(299): idoit\\Controller\\CatchallController->handle()\n#6 /var/www/html/i-doit/src/classes/core/isys_request_controller.class.php(232): isys_request_controller->handle()\n#7 /var/www/html/i-doit/src/classes/core/isys_application.class.php(93): isys_request_controller->parse()\n#8 /var/www/html/i-doit/src/application.inc.php(42): isys_application::run()\n#9 /var/www/html/i-doit/src/i-doit.inc.php(137): include_once('...')\n#10 /var/www/html/i-doit/src/hypergate.inc.php(244): include_once('...')\n#11 /var/www/html/i-doit/index.php(206): include_once('...')\n#12 {main}\n thrown in /var/www/html/i-doit/src/classes/modules/search/src/Index/DocumentMetadata.php on line 111, referer: https://SERVERNAME/i-doit/?moduleID=8&moduleSubID=7&pID=1Die entsprechende Query lautet:
https://SERVERNAME/i-doit/search?q=servernameXYZBemerkenswert ist, dass die Suche bei bestimmten Suchparametern funktioniert. Leider erkenne ich darin jedoch keine Muster.
Vielleicht hat ja jemand eine Idee.
Liebe Grüße,
Julius
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login