Home / Forums / WoodMart support forum / Theme Settings Developer Mode Enabled
Home › Forums › WoodMart support forum › Theme Settings Developer Mode Enabled
Theme Settings Developer Mode Enabled
- This topic has 10 replies, 3 voices, and was last updated 8 years, 1 month ago by
Eric Watson.
-
AuthorPosts
-
May 4, 2018 at 10:50 am #56005
NewsprinceParticipantHello.
We host our site on Cloudways and not localhost environment but on the theme settings this message Developer Mode Enabled appears top right.
Is there any disadvantage? Can we disable it? I am suspecting because of the internal cloudway’s server host, redux framework sees that it is on a localhost environment.
Is there any way to disable it?
Thank you.
May 4, 2018 at 11:32 am #56014
Elise NoromitMemberHello,
You will need to find file wp-config.php in WordPress root catalog, and disable DEBUG as shown:
http://prntscr.com/jdmhucBest Regards
May 4, 2018 at 11:42 am #56018
NewsprinceParticipantdefine(‘WP_DEBUG’, false);
Is already presented in the wp-config.php file.
Still the notice appears on theme setings
May 4, 2018 at 12:31 pm #56035
Eric WatsonParticipantHello,
Сould you please provide a screenshot of the error?
Best Regards
May 4, 2018 at 12:53 pm #56044
NewsprinceParticipantMay 4, 2018 at 1:38 pm #56053
Eric WatsonParticipantI meant the context of the error. https://prnt.sc/jdof60
Best Regards
May 4, 2018 at 1:45 pm #56057
NewsprinceParticipantSorry, my bad.
It says that i am on a localhost environment which we are not.
May 4, 2018 at 2:12 pm #56070
Eric WatsonParticipantWe really do not know why you have such an error, we can offer you to hide it via CSS. Try to add the following PHP code snippet to the child theme functions.php file to do this
function woodmart_hide_redux_error() { echo '<style> .redux-container #redux-header .display_header .redux-dev-mode-notice-container { display: none; } </style>'; } add_action( 'admin_head', 'woodmart_hide_redux_error' );Best Regards
May 4, 2018 at 2:16 pm #56071
NewsprinceParticipantI think it is because cloudways hosting packet we have, has an internal localhost ip something like that.
We don’t mind this notification. We just want to know if it has any hidden developer features enabled that they are not supposed to be enabled on production environment.
Thank you
May 4, 2018 at 2:20 pm #56072
NewsprinceParticipantNevermind.
Found the solution.
Problem solved.
Thank you.
May 4, 2018 at 2:24 pm #56073
Eric WatsonParticipantGreat, we are glad that you have found the solution.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register