Hallo zusammen,
vielleicht kann mir hier jemand helfen bzw. einen Denkanstoß geben was diese Fehlermeldung auf sich hat. Ich erreiche leider keinen der Entwickler.
Ich habe das Maklermodul-Bundle installiert. Beim manuellen Import der Objekte (zip-Datei aus estateOffice) bekomme ich folgende Fehlermeldung:
"Internal Server Error Was ist das Problem? Call to a member function __toString() on null"
Die Meldung in der Log-Datei sieht dann wie folgt aus:
Code:
[2021-03-17 15:13:11] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_route":"contao_backend","_scope":"backend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\BackendController::mainAction"},"request_uri":"https://example.com//contao?act=import&do=maklermodulSetup&ref=xxxxx","method":"GET"} [] [2021-03-17 15:13:11] request.CRITICAL: Uncaught PHP Exception Error: "Call to a member function __toString() on null" at /www/htdocs/xxxxxxx/verzeichnis/website/c4.9/vendor/pdir/maklermodul-sync-bundle/src/Classes/Domain/Model/ImportTarget.php line 327 {"exception":"[object] (Error(code: 0): Call to a member function __toString() on null at /www/htdocs/xxxxxxx/verzeichnis/website/c4.9/vendor/pdir/maklermodul-sync-bundle/src/Classes/Domain/Model/ImportTarget.php:327)"} []
Die composer.json wie folgt:
Code:
{
"type": "project",
"require": {
"contao-themes-net/mate-theme-bundle": "^2.12",
"contao/calendar-bundle": "4.9.",
"contao/comments-bundle": "4.9.",
"contao/conflicts": "@dev",
"contao/faq-bundle": "4.9.",
"contao/listing-bundle": "4.9.",
"contao/manager-bundle": "4.9.",
"contao/news-bundle": "4.9.",
"contao/newsletter-bundle": "4.9.",
"do-while/contao-backupdb-bundle": "^1.4",
"inspiredminds/contao-wowjs": "^1.1",
"madeyourday/contao-rocksolid-columns": "^2.0",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"madeyourday/contao-rocksolid-slider": "^2.0",
"pdir/maklermodul-bundle": "^2.7",
"pdir/maklermodul-sync-bundle": "^2.6",
"trilobit-gmbh/contao-tiles-bundle": "^1.0"
},
"extra": {
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication"
]
},
"repositories": [
{
"type": "composer",
"url": "https://example.com:xxxxxx@packages.contao.store"
}
]
}
Die Contao-Installation befindet sich im Moment im geschützten Verzeichnis auf einer Testdomain. Die Testdomain ist nicht identisch mit der beim Kauf der Lizenz angegebenen. Könnte dadurch das Problem verursacht worden sein? Die Importdatei stammt aus estateOffice.
Contao 4.9.12
maklermodul-bundle: 2.7.4
maklermodul-sync-bundle: 2.6.0
PHP 7.4.14
Lesezeichen