Title: Last Update Failed: Warning: CSS compilation failed
Last modified: September 1, 2016

---

# Last Update Failed: Warning: CSS compilation failed

 *  Resolved [pranaone](https://wordpress.org/support/users/pranaone/)
 * (@pranaone)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/last-update-failed-warning-css-compilation-failed/)
 * Hi,
    When I tried to update your plugin this time, I got the follow error.
 * Warning: CSS compilation failed. Please check your changes or revert the theme.
   
   Undefined variable $mobile_container_background_to: failed at `}` (stdin) on 
   line 369
 * I restored my site back to pre-update. What should I do?
 * My site is: [cafenamaste.com](http://cafenamaste.com)
 * Thanks
 * [https://wordpress.org/plugins/megamenu/](https://wordpress.org/plugins/megamenu/)

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

 *  Thread Starter [pranaone](https://wordpress.org/support/users/pranaone/)
 * (@pranaone)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/last-update-failed-warning-css-compilation-failed/#post-7499374)
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/last-update-failed-warning-css-compilation-failed/#post-7499379)
 * Hi pranaone,
 * Thanks for reporting this. I see the issue in the code, but I wasn’t able to 
   reproduce the actual error until I installed MaxButtons (which I see you have
   installed too).
 * Max Buttons includes it’s own SCSS parser which conflicts with the MMM parser–
   it means the menu CSS is parsed using the Max Buttons parser, not the MMM one.
   The Max Buttons parser is a bit more fussy than the MMM one.
 * In short, the problem is a mix: an error in the SCSS in MMM and a conflict with
   Max Buttons.
 * Please could you try updating to 2.2.1? It may take a while (up to 12 hrs) before
   it shows up on your Plugins page, but when it does it should fix the problem.
 * Regards,
    Tom
 *  Thread Starter [pranaone](https://wordpress.org/support/users/pranaone/)
 * (@pranaone)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/last-update-failed-warning-css-compilation-failed/#post-7499567)
 * Hi Tom,
    Thanks for responding so quickly. I decided to deactivate MaxButtons
   since I don’t use it much anymore anyway. After I updated MMM to the latest version,
   it now seems to work great!
 * Thanks very much for the help,
    Scott

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

The topic ‘Last Update Failed: Warning: CSS compilation failed’ 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/)

## Tags

 * [last Update](https://wordpress.org/support/topic-tag/last-update/)

 * 3 replies
 * 2 participants
 * Last reply from: [pranaone](https://wordpress.org/support/users/pranaone/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/last-update-failed-warning-css-compilation-failed/#post-7499567)
 * Status: resolved