Cannot declare class

Unfortunately my instance broke down today, i’ve managed to repair adding new entries by disabling AOD but when i try to delete something i get

Fatal error: Cannot declare class Zend_Search_Lucene_Storage_Directory_Filesystem, because the name is already in use in /crm/vendor/zf1/zend-search-lucene/library/Zend/Search/Lucene/Storage/File/Filesystem.php on line 0

It happens in every module

Any ideas how to fix it?
Version 7.11


Hey m4ax,

Are you still having issues with this?

Unfortunately, i’m not sure of a solution

However, I had found some threads where users had similar zend/aod-related issues:

A common suggestion is to re-run the composer install --no-dev command, to rebuild the Composer/Vendor contents

It’s likely worth running a backup before doing so, just to be safe, but does anything in there resolve your issue?