I just updated navbar to the latest. Then it didn't want to continute until I install the Breakpoints module. I couldn't add it through modules because now my website is broken. So I went into my cpanel and uploaded the breakpoints module there. Then when I clicked retry on the update screen it went through and then my whole website was stuffed. The error code:

Fatal error: Call to undefined function breakpoints_breakpoint_load_all() in /public_html/sites/all/modules/navbar/navbar.module on line 216

I had to rush to get the website up and running again so I rushed past the error. I deleted the module from the modules folder and now my website is up and running again.

CommentFileSizeAuthor
#5 Verwaltung - neofelis.png61.19 KBalexander.sibert

Comments

hass’s picture

Drupal 7 checks it's dependencies as I know. I think this is by design as we cannot change the way how the update hooks are working. You need to make sure you install Breakpoints and upgrade afterwards.

I had #1937722: Navbar enable cause Invalid argument supplied for foreach() in element_children() and enabled jquery_update and breakpoints manually before I installed navbar. This way it worked. If all 3 modules are disabled you get the error #1937722: Navbar enable cause Invalid argument supplied for foreach() in element_children(). Not sure if this can be solved, but I never seen such an issue yet.

mixxmac’s picture

I ran into this issue also. The site breaks when navbar alpha3 is enabled and upgrades to alpha4, which now has a dependency on the breakpoints module, which wasn't installed.

To fix, I had to disable the navbar module by setting its status to 0 in the system table in phpmyadmin (if I remember this right). Then I tried to flush the caches or ran update.php, to allow me to get to the /admin/modules page. Then installed and enabled the latest dev version of the breakpoints module. Then enabled navbar alpha3, and upgraded it to alpha 4. Which then works.

jetwodru’s picture

Title: since update module breaks website completely » Drupal Update Is Unreliably HORRIBLE

Mee too, I'm using Panopoly and run the update which then asked me to install the Breakpoints, then I downloaded and put the Breakpoints into the Modules folder and clicked try again, Bang, my whole site is now down with no way of accessing back to the Admin session due to the Nav Bar error as what you encountered when I googled for the solution.

jetwodru’s picture

fortunately is a test site, I deleted the whole database and reinstalled again. I doubt if it's a Drupal Core Update Issue, when it prompted me that there's a dependency on the breakpoint before I could carry on the database update process, I downloaded and put it into the modules folder, then I clicked Try Again, it could carry on but it still broke my site ! What about later other existing Modules have new dependencies on other Modules during the Update Process, should I still put the newly dependent modules into the modules folder and click Try Again directly ? I wonder

alexander.sibert’s picture

StatusFileSize
new61.19 KB

I have updated with breakpoints module successfully but now the nav bar works not correct. See my attached screenshot. If i click on the menu the navbar open only the content and not the menu. I tried with jQuery 1.5, 1.7, 1.8 with jQuery Update module. What make i wrong?

It was my failure. I refreshed now the Browser cache and it works fine.

mixxmac’s picture

Hi... I had the same thing, at first. I think this may be the reason... Navbar has mismatching closing tag. The last line in navbar.tpl.php should be </nav>.

jessebeach’s picture

Status: Active » Closed (won't fix)

Thank you for the reports everyone. Please remember that this is an alpha release. You use it on production sites at your own risk.

hmartens’s picture

Yes thank you :) I wanted to say afterwards that I appreciate the work done on this module...for FREE! I used strong words in the title because I was severely stressed at that specific moment.

I am truely thankful to each and every module developer, they are the unsung heroes!

geoffmallo’s picture

You can install and activate the breakpoints module using drush when the site is broken on update and you can't access the modules page.

drush dl breakpoints
drush en breakpoints
(then yes at the prompt)

geoffmallo’s picture

Issue summary: View changes

Forgot to add the error code