Problem changing to Production mode - Command returned non-zero exit codeProduction mode is not workingwhen setup upgrade after add extention module, error occurMagento 2: Can't switch from developer to production: “Command returned non-zero exit code:”Classnames 'Void' inside vendor/magento/Magento 2 - can't enable production mode. Shows Command returned non-zero exit codeGet error when running php bin/magento setup:di:compileHow to switch developer mode to production mode in magento 2?Problem Setting Production Mode - Deploying Static Content - Command returned non-zero exit code:getting error: Class MagentoIndexerModelResourceModelIndexerStateCollectionFactory does not existIn production mode the site does not load“Command returned non-zero exit code” when trying to set M2 to production mode

pwaS eht tirsf dna tasl setterl fo hace dorw

Have GoT's showrunners reacted to the poor reception of the final season?

Told to apply for UK visa before other visas, on UK-Spain-etc. visit

How come Arya Stark wasn't hurt by this in Game of Thrones Season 8 Episode 5?

I recently started my machine learning PhD and I have absolutely no idea what I'm doing

Shortest amud or daf in Shas?

Why aren't satellites disintegrated even though they orbit earth within earth's Roche Limits?

Windows reverting changes made by Linux to FAT32 partion

Why does the U.S military use mercenaries?

Sort a section of a file

Good examples of "two is easy, three is hard" in computational sciences

How to draw pentagram-like shape in Latex?

How would fantasy dwarves exist, realistically?

Lock out of Oracle based on Windows username

Merging two rows with rounding their first elemnts

How can I monitor the bulk API limit?

FIFO data structure in pure C

What were the "pills" that were added to solid waste in Apollo 7?

Can a generation ship withstand its own oxygen and daily wear for many thousands of years?

Why does string strummed with finger sound different from the one strummed with pick?

Should I twist DC power and ground wires from a power supply?

Error when running ((x++)) as root

At what point can a confirmation be established between words of similar meaning in context?

Who is frowning in the sentence "Daisy looked at Tom frowning"?



Problem changing to Production mode - Command returned non-zero exit code


Production mode is not workingwhen setup upgrade after add extention module, error occurMagento 2: Can't switch from developer to production: “Command returned non-zero exit code:”Classnames 'Void' inside vendor/magento/Magento 2 - can't enable production mode. Shows Command returned non-zero exit codeGet error when running php bin/magento setup:di:compileHow to switch developer mode to production mode in magento 2?Problem Setting Production Mode - Deploying Static Content - Command returned non-zero exit code:getting error: Class MagentoIndexerModelResourceModelIndexerStateCollectionFactory does not existIn production mode the site does not load“Command returned non-zero exit code” when trying to set M2 to production mode






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








5















My Magento 2 was running normally, then I tried to change for production mode and I'm getting the following error:



Command returned non-zero exit code: 
`php -f /var/www/magento2.strip-curtains.com/public_html/bin/magento setup:di:compile-multi-tenant 2>&1`


When I run the command #php -f /var/www/magento2.strip-curtains.com/public_html/bin/magento setup:di:compile-multi-tenant 2>&1



[ReflectionException] Class SmartwaveMegamenuModelAttributeSubcatColumns does not exist
setup:di:compile-multi-tenant [--serializer="..."] [--extra-classes-file="..."] [--generation="..."] [--di="..."] [--exclude-pattern="..."] [--magento-init-params="..."]


I can only run the site if I set back to developer mode.










share|improve this question
























  • Same problem here. Seems to be a problem with a theme. Same output when I run the command manually: [ReflectionException] Class SmartwaveMegamenuModelAttributeSubcatColumns does not exist Smartwave is the vendor of a theme called "porto" which is quite popular. I will ask them and come back with their answer. Perhaps somebody already solved the problem here and can also help?

    – Marc Bohm
    Mar 13 '16 at 12:32

















5















My Magento 2 was running normally, then I tried to change for production mode and I'm getting the following error:



Command returned non-zero exit code: 
`php -f /var/www/magento2.strip-curtains.com/public_html/bin/magento setup:di:compile-multi-tenant 2>&1`


When I run the command #php -f /var/www/magento2.strip-curtains.com/public_html/bin/magento setup:di:compile-multi-tenant 2>&1



[ReflectionException] Class SmartwaveMegamenuModelAttributeSubcatColumns does not exist
setup:di:compile-multi-tenant [--serializer="..."] [--extra-classes-file="..."] [--generation="..."] [--di="..."] [--exclude-pattern="..."] [--magento-init-params="..."]


I can only run the site if I set back to developer mode.










share|improve this question
























  • Same problem here. Seems to be a problem with a theme. Same output when I run the command manually: [ReflectionException] Class SmartwaveMegamenuModelAttributeSubcatColumns does not exist Smartwave is the vendor of a theme called "porto" which is quite popular. I will ask them and come back with their answer. Perhaps somebody already solved the problem here and can also help?

    – Marc Bohm
    Mar 13 '16 at 12:32













5












5








5








My Magento 2 was running normally, then I tried to change for production mode and I'm getting the following error:



Command returned non-zero exit code: 
`php -f /var/www/magento2.strip-curtains.com/public_html/bin/magento setup:di:compile-multi-tenant 2>&1`


When I run the command #php -f /var/www/magento2.strip-curtains.com/public_html/bin/magento setup:di:compile-multi-tenant 2>&1



[ReflectionException] Class SmartwaveMegamenuModelAttributeSubcatColumns does not exist
setup:di:compile-multi-tenant [--serializer="..."] [--extra-classes-file="..."] [--generation="..."] [--di="..."] [--exclude-pattern="..."] [--magento-init-params="..."]


I can only run the site if I set back to developer mode.










share|improve this question
















My Magento 2 was running normally, then I tried to change for production mode and I'm getting the following error:



Command returned non-zero exit code: 
`php -f /var/www/magento2.strip-curtains.com/public_html/bin/magento setup:di:compile-multi-tenant 2>&1`


When I run the command #php -f /var/www/magento2.strip-curtains.com/public_html/bin/magento setup:di:compile-multi-tenant 2>&1



[ReflectionException] Class SmartwaveMegamenuModelAttributeSubcatColumns does not exist
setup:di:compile-multi-tenant [--serializer="..."] [--extra-classes-file="..."] [--generation="..."] [--di="..."] [--exclude-pattern="..."] [--magento-init-params="..."]


I can only run the site if I set back to developer mode.







magento2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 9 '16 at 0:48







BrunoBueno

















asked Mar 8 '16 at 23:01









BrunoBuenoBrunoBueno

74331028




74331028












  • Same problem here. Seems to be a problem with a theme. Same output when I run the command manually: [ReflectionException] Class SmartwaveMegamenuModelAttributeSubcatColumns does not exist Smartwave is the vendor of a theme called "porto" which is quite popular. I will ask them and come back with their answer. Perhaps somebody already solved the problem here and can also help?

    – Marc Bohm
    Mar 13 '16 at 12:32

















  • Same problem here. Seems to be a problem with a theme. Same output when I run the command manually: [ReflectionException] Class SmartwaveMegamenuModelAttributeSubcatColumns does not exist Smartwave is the vendor of a theme called "porto" which is quite popular. I will ask them and come back with their answer. Perhaps somebody already solved the problem here and can also help?

    – Marc Bohm
    Mar 13 '16 at 12:32
















Same problem here. Seems to be a problem with a theme. Same output when I run the command manually: [ReflectionException] Class SmartwaveMegamenuModelAttributeSubcatColumns does not exist Smartwave is the vendor of a theme called "porto" which is quite popular. I will ask them and come back with their answer. Perhaps somebody already solved the problem here and can also help?

– Marc Bohm
Mar 13 '16 at 12:32





Same problem here. Seems to be a problem with a theme. Same output when I run the command manually: [ReflectionException] Class SmartwaveMegamenuModelAttributeSubcatColumns does not exist Smartwave is the vendor of a theme called "porto" which is quite popular. I will ask them and come back with their answer. Perhaps somebody already solved the problem here and can also help?

– Marc Bohm
Mar 13 '16 at 12:32










1 Answer
1






active

oldest

votes


















1














In this case I think you are running into one of three issues.



  1. You need to run php bin/magento setup:upgrade to update the list of modules in case you have removed or changed one. If you did remove the Smartwave module without resetting your app/etc/config.php it's possible to get this error.


  2. You have removed the Smartwave module but there is still code the uses some of it's classes or extends from it that haven't been updated.


  3. You need to clear that var folder's that could have old content in them. They are typically var/di, var/view_preprocessed, var/cache, var/page_cache, var/generation. Clearing these might solve the issue.


From here, I would grep for the use of the Smartwave module in the app and vendor folders and see what comes up to figure out where it's being used.



grep -r "Smartwave" app/*






share|improve this answer























  • I am confused about "Smartwave" and have same problem like. My issue: magento.stackexchange.com/q/161645/29175

    – Jai
    Feb 27 '17 at 7:43











  • When you run the search, does anything come up?

    – circlesix
    Feb 27 '17 at 14:30











  • I am aware about all steps mentioned in answer but wanna know about Smartwave

    – Jai
    Feb 28 '17 at 3:43











  • oh, i have no idea what it is. looks to be a mega menu, but i'm only using that as it's in the error message in the orig post.

    – circlesix
    Feb 28 '17 at 4:06









protected by Community Mar 18 '16 at 9:30



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?














1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














In this case I think you are running into one of three issues.



  1. You need to run php bin/magento setup:upgrade to update the list of modules in case you have removed or changed one. If you did remove the Smartwave module without resetting your app/etc/config.php it's possible to get this error.


  2. You have removed the Smartwave module but there is still code the uses some of it's classes or extends from it that haven't been updated.


  3. You need to clear that var folder's that could have old content in them. They are typically var/di, var/view_preprocessed, var/cache, var/page_cache, var/generation. Clearing these might solve the issue.


From here, I would grep for the use of the Smartwave module in the app and vendor folders and see what comes up to figure out where it's being used.



grep -r "Smartwave" app/*






share|improve this answer























  • I am confused about "Smartwave" and have same problem like. My issue: magento.stackexchange.com/q/161645/29175

    – Jai
    Feb 27 '17 at 7:43











  • When you run the search, does anything come up?

    – circlesix
    Feb 27 '17 at 14:30











  • I am aware about all steps mentioned in answer but wanna know about Smartwave

    – Jai
    Feb 28 '17 at 3:43











  • oh, i have no idea what it is. looks to be a mega menu, but i'm only using that as it's in the error message in the orig post.

    – circlesix
    Feb 28 '17 at 4:06















1














In this case I think you are running into one of three issues.



  1. You need to run php bin/magento setup:upgrade to update the list of modules in case you have removed or changed one. If you did remove the Smartwave module without resetting your app/etc/config.php it's possible to get this error.


  2. You have removed the Smartwave module but there is still code the uses some of it's classes or extends from it that haven't been updated.


  3. You need to clear that var folder's that could have old content in them. They are typically var/di, var/view_preprocessed, var/cache, var/page_cache, var/generation. Clearing these might solve the issue.


From here, I would grep for the use of the Smartwave module in the app and vendor folders and see what comes up to figure out where it's being used.



grep -r "Smartwave" app/*






share|improve this answer























  • I am confused about "Smartwave" and have same problem like. My issue: magento.stackexchange.com/q/161645/29175

    – Jai
    Feb 27 '17 at 7:43











  • When you run the search, does anything come up?

    – circlesix
    Feb 27 '17 at 14:30











  • I am aware about all steps mentioned in answer but wanna know about Smartwave

    – Jai
    Feb 28 '17 at 3:43











  • oh, i have no idea what it is. looks to be a mega menu, but i'm only using that as it's in the error message in the orig post.

    – circlesix
    Feb 28 '17 at 4:06













1












1








1







In this case I think you are running into one of three issues.



  1. You need to run php bin/magento setup:upgrade to update the list of modules in case you have removed or changed one. If you did remove the Smartwave module without resetting your app/etc/config.php it's possible to get this error.


  2. You have removed the Smartwave module but there is still code the uses some of it's classes or extends from it that haven't been updated.


  3. You need to clear that var folder's that could have old content in them. They are typically var/di, var/view_preprocessed, var/cache, var/page_cache, var/generation. Clearing these might solve the issue.


From here, I would grep for the use of the Smartwave module in the app and vendor folders and see what comes up to figure out where it's being used.



grep -r "Smartwave" app/*






share|improve this answer













In this case I think you are running into one of three issues.



  1. You need to run php bin/magento setup:upgrade to update the list of modules in case you have removed or changed one. If you did remove the Smartwave module without resetting your app/etc/config.php it's possible to get this error.


  2. You have removed the Smartwave module but there is still code the uses some of it's classes or extends from it that haven't been updated.


  3. You need to clear that var folder's that could have old content in them. They are typically var/di, var/view_preprocessed, var/cache, var/page_cache, var/generation. Clearing these might solve the issue.


From here, I would grep for the use of the Smartwave module in the app and vendor folders and see what comes up to figure out where it's being used.



grep -r "Smartwave" app/*







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 4 '17 at 4:06









circlesixcirclesix

3,09321647




3,09321647












  • I am confused about "Smartwave" and have same problem like. My issue: magento.stackexchange.com/q/161645/29175

    – Jai
    Feb 27 '17 at 7:43











  • When you run the search, does anything come up?

    – circlesix
    Feb 27 '17 at 14:30











  • I am aware about all steps mentioned in answer but wanna know about Smartwave

    – Jai
    Feb 28 '17 at 3:43











  • oh, i have no idea what it is. looks to be a mega menu, but i'm only using that as it's in the error message in the orig post.

    – circlesix
    Feb 28 '17 at 4:06

















  • I am confused about "Smartwave" and have same problem like. My issue: magento.stackexchange.com/q/161645/29175

    – Jai
    Feb 27 '17 at 7:43











  • When you run the search, does anything come up?

    – circlesix
    Feb 27 '17 at 14:30











  • I am aware about all steps mentioned in answer but wanna know about Smartwave

    – Jai
    Feb 28 '17 at 3:43











  • oh, i have no idea what it is. looks to be a mega menu, but i'm only using that as it's in the error message in the orig post.

    – circlesix
    Feb 28 '17 at 4:06
















I am confused about "Smartwave" and have same problem like. My issue: magento.stackexchange.com/q/161645/29175

– Jai
Feb 27 '17 at 7:43





I am confused about "Smartwave" and have same problem like. My issue: magento.stackexchange.com/q/161645/29175

– Jai
Feb 27 '17 at 7:43













When you run the search, does anything come up?

– circlesix
Feb 27 '17 at 14:30





When you run the search, does anything come up?

– circlesix
Feb 27 '17 at 14:30













I am aware about all steps mentioned in answer but wanna know about Smartwave

– Jai
Feb 28 '17 at 3:43





I am aware about all steps mentioned in answer but wanna know about Smartwave

– Jai
Feb 28 '17 at 3:43













oh, i have no idea what it is. looks to be a mega menu, but i'm only using that as it's in the error message in the orig post.

– circlesix
Feb 28 '17 at 4:06





oh, i have no idea what it is. looks to be a mega menu, but i'm only using that as it's in the error message in the orig post.

– circlesix
Feb 28 '17 at 4:06





protected by Community Mar 18 '16 at 9:30



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?



Popular posts from this blog

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form