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.
Strict warning: Only variables should be passed by reference in custom_breadcrumbs_paths_form() (Line 274 of .../modules/custom_breadcrumbs/custom_breadcrumbs_paths/custom_breadcrumbs_paths.module).
I'm using PHP 5.3.8.
Comment | File | Size | Author |
---|---|---|---|
#6 | custom_breadcrumbs-strict-warning-1338126-6.patch | 1.18 KB | tanmayk |
#5 | 1338126-5-strict-warning-in-custom-breadcrumbs-paths.patch | 1.18 KB | tanmayk |
#3 | custom_breadcrumbs_paths.module.zip | 3.83 KB | hoebekewim |
Comments
Comment #1
acidpotato CreditAttribution: acidpotato commentedSame here..
Comment #2
kalis1Same here too. This is happening when I set a Custom Breadcrumb for Path with a php callback like :
return my_custom_function();
Comment #3
hoebekewim CreditAttribution: hoebekewim commentedAt line 272 in custom_breadcrumbs_paths.module change as follow (notice the s behind $breadcrumb(s) !)
Original:
Fix:
Or replace it by using the uploaded file here.
It's just that simple ;)
Comment #4
rudiedirkx CreditAttribution: rudiedirkx commentedI'm so glad this is being worked on......
Comment #5
tanmaykAttached patch against 2.x branch. Hope this will be fixed soon.
Comment #6
tanmaykPatch against 2.0alpha3. I needed it for my make file. Might be helpful for someone.
Comment #7
jabberwooki CreditAttribution: jabberwooki commentedIt works for me, on 7.x-2.0-alpha3. Thanks for the patch file.
Comment #8
codi CreditAttribution: codi commentedWorks for me as well. Moving this issue to RTBC.
Comment #9
Sutharsan CreditAttribution: Sutharsan commented@colan, can we please get this committed. This is a no-brainer.
Comment #10
tanmaykIs this being committed soon?
Comment #11
joshuautley CreditAttribution: joshuautley commentedThis is happening in Version: 7.x-2.0-beta1 as well.
Comment #12
Christian DeLoach CreditAttribution: Christian DeLoach commentedLike Joshua said, the problem was re-introduced in 7.x-2.0-beta1. The solution in #3 still works.
Comment #13
renatogHi people.
I applied the patch and works good for me too.
Before:
After:
Thank you very much
Comment #15
renatogFixed.
Commited in dev branch.
Thank you all for contributions people.
Good Work.
Regards