Title: mega menu problem save styl
Last modified: March 26, 2025

---

# mega menu problem save styl

 *  [ludekwp](https://wordpress.org/support/users/ludekwp/)
 * (@ludekwp)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/mega-menu-problem-save-styl/)
 * When I want to change the color of my mega menu I get this error
   I will add that
   so far everything has been fine.
 * I have reverted the changes. I have disabled other plugins and still no change.
   Please help
   “Error saving theme. Please try refreshing the page.Warning: CSS 
   compilation failed. Please check your changes or revert the theme.Undefined variable
   $responsive_breakpoint: line: 178, column: 5 Call Stack: #0 mixin desktop (unknown
   file) on line 316″

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [megatom](https://wordpress.org/support/users/megatom/)
 * (@megatom)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/mega-menu-problem-save-styl/#post-18383262)
 * Hi,
 * Please go to Mega Menu > Menu Themes > Mobile Menu and check a valid value has
   been used for the Responsive Breakpoint. It can’t be left empty. It should be
   something like 768px.
 * If you have multiple menu themes, check each theme.
 * Regards,
   Tom
 *  Thread Starter [ludekwp](https://wordpress.org/support/users/ludekwp/)
 * (@ludekwp)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/mega-menu-problem-save-styl/#post-18387221)
 * hello. I checked, but in my case this value is filled. I don’t know where else
   to look for the problem.
 *  [stefopl](https://wordpress.org/support/users/stefopl/)
 * (@stefopl)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/mega-menu-problem-save-styl/#post-18387578)
 * It is possible that the **max_input_vars** limit has been exceeded, which may
   result in some settings being lost during submission. If too many fields are 
   sent, PHP truncates them silently, leading to missing values and errors.
 * Steps to Reproduce:
    1. Set max_input_vars = 120 in your PHP configuration.
    2. Navigate to Mega Menu > Menu Themes or visit /wp-admin/admin.php?page=maxmegamenu_theme_editor
       directly.
    3. Click Save.
    4. You will see the following error: 
       `Error saving theme. Please try refreshing
       the page.Warning: CSS compilation failed. Please check your changes or revert
       the theme.Undefined variable $responsive_breakpoint: line: 177, column: 5Call
       Stack: #0 mixin desktop (unknown file) on line 315
 * Recommended Solution:
   Increase **max_input_vars** in `php.ini`, `.htaccess`, 
   or `wp-config.php` to prevent truncation.
 * To avoid silent data loss, a good practice is to add a validation field at the
   end of the form (e.g., `validation_token`). After submission, the plugin should
   verify whether this field is present in `$_POST` or `$_GET`. If it is missing,
   it likely means that **max_input_vars** has been exceeded, and the plugin can
   display a clear warning to the user.
 * This approach helps users diagnose the issue more easily and prevents unexpected
   errors.
    -  This reply was modified 1 year, 2 months ago by [stefopl](https://wordpress.org/support/users/stefopl/).
 *  Plugin Support [megatom](https://wordpress.org/support/users/megatom/)
 * (@megatom)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/mega-menu-problem-save-styl/#post-18387660)
 * Hi Luke,
 * I am not sure either sorry. The error suggests the Responsive Breakpoint value
   has been left blank for one of your themes. Have you definitely checked _each_
   theme? How many do you have setup? There is a drop down selector at the top of
   the theme editor that you need to check.
 * Regards,
   Tom
 *  [stefopl](https://wordpress.org/support/users/stefopl/)
 * (@stefopl)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/mega-menu-problem-save-styl/#post-18387845)
 * It is possible that the max_input_vars limit has been exceeded, which may result
   in some settings being lost during submission. If too many fields are sent, PHP
   truncates them silently, leading to missing values and errors.
 * Steps to Reproduce:
   Set max_input_vars = 120 in your PHP configuration.
 * Navigate to Mega Menu > Menu Themes or visit /wp-admin/admin.php?page=maxmegamenu_theme_editor
   directly.
 * Click Save.
 * You will see the following error:
 * Error saving theme. Please try refreshing the page.
   Warning: CSS compilation 
   failed. Please check your changes or revert the theme.Undefined variable $responsive_breakpoint:
   line: 177, column: 5Call Stack: #0 mixin desktop (unknown file) on line 315
 * Recommended Solution:
   Increase max_input_vars in php.ini, .htaccess, or wp-config.
   php to prevent truncation.
 * To avoid silent data loss, a good practice is to add a validation field at the
   end of the form (e.g., validation_token). After submission, the plugin should
   verify whether this field is present in $_POST or $_GET. If it is missing, it
   likely means that max_input_vars has been exceeded, and the plugin can display
   a clear warning to the user.
 * This approach helps users diagnose the issue more easily and prevents unexpected
   errors.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘mega menu problem save styl’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [stefopl](https://wordpress.org/support/users/stefopl/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/mega-menu-problem-save-styl/#post-18387845)
 * Status: not resolved