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 activated a block of content slider with image as type of content .
After that, I can permanently notice this warning: Missing argument 2 for content_slider_load_nodes(), called in /home/webtiqco/public_html/cepaafe.../sites/all/modules/content_slider/content_slider.module on line 139 and defined in .../sites/all/modules/content_slider/content_slider.module on line 168.
Thanks
Comment | File | Size | Author |
---|---|---|---|
#7 | content_slider-794560-5.patch | 584 bytes | fuerst |
Comments
Comment #1
sudeepg CreditAttribution: sudeepg commentedThanks webtiq. Let me check that and get back to you.
Comment #2
jose.cely CreditAttribution: jose.cely commentedHi, i make and small hack to the code
by:
And this warning disapear for me...
Comment #3
webtiq CreditAttribution: webtiq commentedThanks. Actually, I solved it quickly after posting. I did something like that but I completely removed $delta from arguments of the function and the warning disappeared. Everything is still working well since.
Comment #5
isacar CreditAttribution: isacar commentedjose.cely's solution worked for me. Thanks!
Comment #6
c4rl CreditAttribution: c4rl commentedHacking a module isn't a criterion for marking this issue as "fixed." Please provide a patch so that it can be contributed back to the codebase.
Comment #7
fuerst CreditAttribution: fuerst commentedSolved it by removing the
$delta
parameter fromcontent_slider_load_nodes()
which is not used in this function.