Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#7 | custom_breadcrumbs_install__6_x_1_5__530638-7.patch | 1.21 KB | clemens.tolboom |
#6 | custom_breadcrumbs_install.patch | 1.3 KB | Anonymous (not verified) |
#2 | Picture 22.png | 83.52 KB | halfiranian |
#1 | 530638_install_patch.diff | 828 bytes | MGN |
Picture 21.png | 61.3 KB | halfiranian |
Comments
Comment #1
MGN CreditAttribution: MGN commentedCan you try the following patch?
Thanks for testing.
Comment #2
halfiranian CreditAttribution: halfiranian commentedThanks 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
Comment #3
MGN CreditAttribution: MGN commentedThanks. 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?
Comment #4
halfiranian CreditAttribution: halfiranian commentedHmm, 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
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedIn 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.
Comment #7
clemens.tolboomAs 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.
Comment #8
Thomas_Zahreddin CreditAttribution: Thomas_Zahreddin commentedWith a fresh installed 6.x-1.5 or 6.x-2.0-rc1 update runs well.
Comment #9
lamp5