cancel
Showing results for 
Search instead for 
Did you mean: 

Constant name is expected after upgrade magento 2.3.4 to magento 2.4.0

Re: Constant name is expected after upgrade magento 2.3.4 to magento 2.4.0

Below I found an explanation for your mistake.

Do you see it once?

 

I think there is a problem with the directory. View all XML files. A stubborn name should be superficial. One of the keys is a lowercase letter. Please check for accuracy. I hope this solves the problem.

 

bee tv 

Re: Constant name is expected after upgrade magento 2.3.4 to magento 2.4.0

In a case when your extension is in app/code folder you will get this error if your folder name is different than module name after Magento_ in module.xml for an example: cinehub if your module name is Magento_MyGreatModule your folder name must be MyGreatModule.