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

CommentFileSizeAuthor
#7 content_slider-794560-5.patch584 bytesfuerst
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sudeepg’s picture

Thanks webtiq. Let me check that and get back to you.

jose.cely’s picture

Hi, i make and small hack to the code

function content_slider_load_nodes($content_type, $delta) {
 

by:

function content_slider_load_nodes($content_type, $delta = false) {
 

And this warning disapear for me...

webtiq’s picture

Status: Active » Fixed

Thanks. 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.

Status: Fixed » Closed (fixed)

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

isacar’s picture

jose.cely's solution worked for me. Thanks!

c4rl’s picture

Status: Closed (fixed) » Active

Hacking 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.

fuerst’s picture

Status: Active » Needs review
FileSize
584 bytes

Solved it by removing the $delta parameter from content_slider_load_nodes() which is not used in this function.