Help! Newbie here. I enabled Lightbox2 and immediately received the following error...

The configuration options have been saved.

* warning: Missing argument 2 for lightbox2_help() in /home/mysite/public_html/modules/lightbox2/lightbox2.module on line 32.
* warning: Missing argument 2 for lightbox2_help() in /home/mysite/public_html/modules/lightbox2/lightbox2.module on line 32.

What does this mean and how do I fix it?

Comments

ronliskey’s picture

What does it mean?
Lightbox2 has a function called, lightbox2_help(). This function expects several arguments to be passed to it. For some reason the second argument is not getting passed.

(BTW: Arguments are an antagonistic sounding name for pieces of information that the function, lightbox2_help(), expects to be given whenever it is asked to perform its task. It's really more like an agreement: "You give me this every time, and I'll do that every time."

There's nothing argumentative about it except for when the function doesn't get the "arguments" it expects, at which point it can become downright argumentative, an example of which you are experiencing.

How to fix?
Sorry, I don't know.