Ocbcleartmp in 6.30 / php 8 Bug

Ich denke, da gibt’s auch nen Bug. Hat das schon jemand probiert?

Kannst Du den Bug-Verdacht genauer definieren? Das Cache leeren klappt nicht oder was genau verbirgt sich dahinter?

Ich hatte noch keine Gelegenheit in die Logs zu schauen. Ein Kunde hat sich gemeldet, weil er das Modul per composer installiert hat. Der Header ist da und verschwindet bei der Auswahl des zu löschenden Speichers, der TMP wird nicht geleert. Schaue ich mir morgen früh an.

Klingt danach das Funktionalität des Cache löschen nicht ausgeführt wird und stattdessen Modul deaktiviert wird…

Ich den Shop kurzerhand erneut installiert. Es kommt folgende Fehlermeldung:
[2021-06-17 10:07:14] OXID Logger.ERROR: Non-static method OxidEsales\Facts\Facts::getEdition() cannot be called statically ["[object] (Error(code: 0): Non-static method OxidEsales\\Facts\\Facts::getEdition() cannot be called statically at /.../source/modules/oxcom/ocbcleartmp/Controller/Admin/NavigationController.php:121)\n[stacktrace]\n#0 /.../source/modules/oxcom/ocbcleartmp/Controller/Admin/NavigationController.php(174): OxidCommunity\\OcbClearTmp\\Controller\\Admin\\NavigationController->isEEVersion()\n#1 /.../source/modules/oxcom/ocbcleartmp/Controller/Admin/NavigationController.php(57): OxidCommunity\\OcbClearTmp\\Controller\\Admin\\NavigationController->deleteFiles()\n#2 /.../vendor/oxid-esales/oxideshop-ce/source/Core/Controller/BaseController.php(534): OxidCommunity\\OcbClearTmp\\Controller\\Admin\\NavigationController->cleartmp()\n#3 /.../vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(347): OxidEsales\\EshopCommunity\\Core\\Controller\\BaseController->executeFunction('cleartmp')\n#4 /.../vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(280): OxidEsales\\EshopCommunity\\Core\\ShopControl->executeAction(Object(OxidCommunity\\OcbClearTmp\\Controller\\Admin\\NavigationController), 'cleartmp')\n#5 /.../vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(142): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('OxidEsales\\\\Esho...', 'cleartmp', NULL, NULL)\n#6 /.../vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(27): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#7 /.../source/index.php(16): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#8 /.../source/admin/index.php(12): require_once('/www/htdocs/w01...')\n#9 {main}\n"] []

Habs gefixt:

Controller/Admin/NavigationControl.php
Z. 119-122 wie folgt ändern:

public function isEEVersion()
    {
        return ('EE' === $this->getConfig()->getEdition());
    }
1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.