As you can see below the admin interface just doesn't have any Buttons. I already tried clearing the static folder and switching in the app/etc/di.xml

“Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink” to “Magento\Framework\App\View\Asset\MaterializationStrategy\Copy”

And doing a new static content deploy command. I also cleared every possible cache and used a new admin user created via command line.

I did change in vendor/magento/module-thema/MOdel/Theme/Collection.php the following code:

On line 240 I added $parentPathPieces && into the if statement because I was facing an error that parentPathPieces doesn't implement the countable interface. Without that fix the Admin Page wont load at all and throw me an error.

a:4:{i:0;s:217:"Warning: count(): Parameter must be an array or an object that implements Countable in /is/htdocs/wp11252460_O42WGWXYKG/preview.scharnebeckermuehle.de/vendor/magento/module-theme/Model/Theme/Collection.php on line 240";i:1;s:4304:"#0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'count(): Parame...', '/is/htdocs/wp11...', 240, Array)

enter image description here enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.