Title: Menu collapse
Last modified: August 22, 2016

---

# Menu collapse

 *  Resolved [stellamaris5](https://wordpress.org/support/users/stellamaris5/)
 * (@stellamaris5)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/)
 * page-builder-sandwich/js/min/frontend-min.js
 * I think that I have this little issue due to theme and plugin conflict, the hamburger
   menu in responsive mode open and collapses straight away on first click but stays
   open on second and can’t be closed on third.
 * Anything that can looked at your end? my site is natureheals.co.uk
 * PS UPDATE plugin uses bootstrap 3.3.2
    customizr theme is built on bootstrap 
   2.3.2 –> I guess this is the issue 🙂
 * [https://wordpress.org/plugins/page-builder-sandwich/](https://wordpress.org/plugins/page-builder-sandwich/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/menu-collapse/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/menu-collapse/page/2/?output_format=md)

 *  [Benjamin Intal](https://wordpress.org/support/users/bfintal/)
 * (@bfintal)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833157)
 * Thanks for the report. Yeah I think namespacing should somehow be implemented
   for Bootstrap scripts. The styles are already namespaced though.
 * I filed it as an issue: [https://github.com/gambitph/Page-Builder-Sandwich/issues/57](https://github.com/gambitph/Page-Builder-Sandwich/issues/57)
 *  Thread Starter [stellamaris5](https://wordpress.org/support/users/stellamaris5/)
 * (@stellamaris5)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833163)
 * thanks
 *  [Benjamin Intal](https://wordpress.org/support/users/bfintal/)
 * (@bfintal)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833266)
 * This should be fixed in 0.8
 *  Thread Starter [stellamaris5](https://wordpress.org/support/users/stellamaris5/)
 * (@stellamaris5)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833270)
 * Just to add , something went wrong and my site started internal server error 
   500 so I had to remove the plugin unfortunately. For now it’s ok I will revisit
   the plugin later once it matures. Maybe bootstrap conflict I don’t know I just
   needed the site up as soon as possible
 *  Thread Starter [stellamaris5](https://wordpress.org/support/users/stellamaris5/)
 * (@stellamaris5)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833296)
 * when did you update to 0.8? this happened last night not sure what version I 
   had.
 *  [Benjamin Intal](https://wordpress.org/support/users/bfintal/)
 * (@bfintal)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833310)
 * Just around when I posted. Did sandwich cause the 500 error? We’re running travis
   to check for build errors and none were reported though
 *  Thread Starter [stellamaris5](https://wordpress.org/support/users/stellamaris5/)
 * (@stellamaris5)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833311)
 * I think so as it was fine after uninstalling it.
 * It was identified by my hosting after reposting it to them.
 *  [Benjamin Intal](https://wordpress.org/support/users/bfintal/)
 * (@bfintal)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833313)
 * Hmm, have any clues as to how the error came up? 500 errors come up with PHP 
   errors, so at least we can rule bootstrap out
 *  Thread Starter [stellamaris5](https://wordpress.org/support/users/stellamaris5/)
 * (@stellamaris5)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833314)
 * no i’m sorry , I was panicking and trying to get the site back up asap.
 * Let me email my hosting to see if they can shed ANY LIGHT
 *  Thread Starter [stellamaris5](https://wordpress.org/support/users/stellamaris5/)
 * (@stellamaris5)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833316)
 * This is the last email I received from the hosting support:
 * The issue has been resolved. The problem was the page builder sandwich. This 
   was causing the 500 internal server error. I renamed the folder for the plugin
   and it has fixed the issue.
 * Parse error: syntax error, unexpected T_FUNCTION in /var/sites/n/natureheals.
   co.uk/public_html/wp-content/plugins/page-builder-sandwich/inc/shortcake/shortcode-
   ui.php on line 29
 * Does this help?
 *  [Benjamin Intal](https://wordpress.org/support/users/bfintal/)
 * (@bfintal)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833324)
 * Thanks for the tip. Are you using PHP 5.2? We are using another library called
   Shortcake that only supports PHP 5.3+. That may be the one that went wrong.
 *  Thread Starter [stellamaris5](https://wordpress.org/support/users/stellamaris5/)
 * (@stellamaris5)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833325)
 * I’m on 5.3 but will ask my host to update to 5.5
 *  [Benjamin Intal](https://wordpress.org/support/users/bfintal/)
 * (@bfintal)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833329)
 * Just confirmed it with the guys from Shortcake and the only reason for that error
   to pop up is if the server is running something lower than PHP 5.3 :/
 * [https://www.google.com/search?q=unexpected+T_FUNCTION&oq=unexpected+T_FUNCTION&aqs=chrome](https://www.google.com/search?q=unexpected+T_FUNCTION&oq=unexpected+T_FUNCTION&aqs=chrome)..
   69i57.284j0j7&sourceid=chrome&es_sm=91&ie=UTF-8
 *  Thread Starter [stellamaris5](https://wordpress.org/support/users/stellamaris5/)
 * (@stellamaris5)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833333)
 * It was set to 5.3 previously so it should have worked, right?
 * I’ve put it to 5.5 now so I will try the plugin again next time when we have 
   some time set aside for dev
 *  [Benjamin Intal](https://wordpress.org/support/users/bfintal/)
 * (@bfintal)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/#post-5833334)
 * Ah! This just came across my mind.. Previously, we didn’t have any shortcodes
   in sandwich. But soon after, around version 0.6 or 0.7, we added some. It was
   at that point that we added Shortcake with the codebase. We needed to add some
   shortcodes in to play with so that Sandwich can become a full fledged page builder.
 * I think that may be the reason why it worked before 🙂
 * Anyway, with PHP 5.5 I’m confident that you’ll have no problems. Please let me
   know what happens. (Just incase) If you encounter errors, you can forcibly turn
   off the plugin via FTP. Just rename Sandwich’s folder name to another name.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/menu-collapse/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/menu-collapse/page/2/?output_format=md)

The topic ‘Menu collapse’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/page-builder-sandwich_f9f9f9.svg)
 * [Page Builder Sandwich – Front End WordPress Page Builder Plugin](https://wordpress.org/plugins/page-builder-sandwich/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-builder-sandwich/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-builder-sandwich/)
 * [Active Topics](https://wordpress.org/support/plugin/page-builder-sandwich/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-builder-sandwich/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-builder-sandwich/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [stellamaris5](https://wordpress.org/support/users/stellamaris5/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/menu-collapse/page/2/#post-5833348)
 * Status: resolved