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
This should be fixed in 0.8
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
when did you update to 0.8? this happened last night not sure what version I had.
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
I think so as it was fine after uninstalling it.
It was identified by my hosting after reposting it to them.
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
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
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?
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.
I’m on 5.3 but will ask my host to update to 5.5
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..69i57.284j0j7&sourceid=chrome&es_sm=91&ie=UTF-8
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
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.