cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.1 menu does not appear after installing predeveloped theme

Magento 2.3.1 menu does not appear after installing predeveloped theme

Hey Guys, I am new to Magento and I am facing an issue which I am unable to resolve. I have looked at various solutions available online but I am unable to find that which I am facing.

 

After installing Magento 2.3.1 with sample data everything seems to be fine until I installed a predeveloped theme (Eva) by Zemez author on Themeforest. As soon as I installed the theme the main menu which appears on the Luma theme disappeared, I then went ahead and activated the theme hoping that the menu items would appear after but no luck. This happens on both the server and localhost.

 

Any help with this would be much appreciated.

8 REPLIES 8

Re: Magento 2.3.1 menu does not appear after installing predeveloped theme

@daniyal_qureshiIf you have not already then run the below commands to see if thing works for you on your local dev environment.

 

sudo rm -Rf pub/static/frontend/* var/pre_processed/* pub/static/_requirejs/*
sudo rm -Rf var/generation/* var/di/* var/cache/*
sudo php bin/magento setup:upgrade
sudo php bin/magento setup:di:compile
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento cache:clean
sudo php bin/magento cache:flush
sudo chmod -R 777 var/ pub/ generated/

Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.

- Tarandeep
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.

Re: Magento 2.3.1 menu does not appear after installing predeveloped theme

I am using Windows for local, I would be able remove the content from the folders mentioned initially, however I won't be able to run the command for the last one.

Re: Magento 2.3.1 menu does not appear after installing predeveloped theme

@daniyal_qureshiOn windows you do not need to run the command to set the permission.

 

Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.

- Tarandeep
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.

Re: Magento 2.3.1 menu does not appear after installing predeveloped theme

Also I don't have the following in their respective folders:

 

1. pre_processed

2. generation

3. di

4. _requirejs

Re: Magento 2.3.1 menu does not appear after installing predeveloped theme

Alright, so though there were files missing I still went ahead and did what you asked and got this error:

 

Errors during compilation:
TemplateMonster\Megamenu\Plugin\Block\Topmenu
Incompatible argument type: Required type: \Magento\Catalog\Model\ResourceModel\Category\StateDependentCollectionFactory. Actual type: \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory; File:
C:/xampp/htdocs/players231/app/code/TemplateMonster/Megamenu/Plugin/Block/Topmenu.php

Re: Magento 2.3.1 menu does not appear after installing predeveloped theme

Hello @daniyal_qureshi ,

 

There is an issue on the installed third party theme. Please remove it and check it 

 

--
If my answer is useful, please Accept as Solution & give Kudos

Re: Magento 2.3.1 menu does not appear after installing predeveloped theme

Yes, like I said, without installing the theme the main menu items do appear on Luma sample theme, they disappear soon after I install the theme, which is why I am seeking a resolution for this.

Re: Magento 2.3.1 menu does not appear after installing predeveloped theme

Have you resolved the problem? I encounter the same issue but not able to find solution yet.