Hi,

I get a fatal error when running update.php.

The message it gives is: Call to undefined function custom_breadcrumbs_save_breadcrumb()

I've udpated to the latest 2.x-dev but still the same problem.

I don't have any custom breadcrumbs I want to keep so is there a way I can delete everything (from custom breadcrumbs) and try a clean install? How would that work?

I've attached a picture of the error.

Thanks for all your great work

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MGN’s picture

Status: Active » Needs review
FileSize
828 bytes

Can you try the following patch?

Thanks for testing.

halfiranian’s picture

FileSize
83.52 KB

Thanks it seems to have updated well - not sure what the first update message should read.

I've attached a screenshot of the result.

Thanks for all your work

MGN’s picture

Title: Fatal error when running upgrade.php » Fatal error when running update.php
Status: Needs review » Fixed

Thanks. I can now see another error in that update function which I will take care of.

I think the message should have been 'Custom Breadcrumb replacement strings updated for use with Token module.'

Out of curiosity, what version did you upgrade from?

halfiranian’s picture

Hmm, I'm actually not 100% sure. Just replaced it locally and ran update.php

Would it be somewhere in the logs? If you point me in the right direction I could dig it out.

Cheers

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Status: Closed (fixed) » Active
FileSize
1.3 KB

In upgrading from 5.x-1.2 to 6.x-1.5, I had this problem as well. It needs to call custom_breadcrumbs_save_breadcrumb, but that's in the .module file, which is not included at install time.

It's a small function, so I copied it into the .install file, as _custom_breadcrumbs_save_breadcrumb, and called it there. Here's the patch.

clemens.tolboom’s picture

As 6.x-2.x is still not stable I needed a patch for 6.x-1.5 .. patch from #6 did not apply. Hopefully this one will.

Thomas_Zahreddin’s picture

With a fresh installed 6.x-1.5 or 6.x-2.0-rc1 update runs well.

lamp5’s picture

Issue summary: View changes
Status: Active » Closed (outdated)