• Resolved m0mo

    (@m0mo)


    Hello,

    I just implemented the following hack to my wordpress theme:

    https://wp-wizzard.com/functions/next-gen-gallery-random-set-of-images-anywhere-on-your-page-without-hacking-core-files

    everything works fine, I just get the following warning mesaage:

    Missing argument 2 for WP_Widget::__construct() at …

    so I googled a bit and found this article with a comment related to the problem:

    ____________
    If you get “Missing argument 2 for WP_Widget::__construct(), ” make sure that you when you renamed your widget class that extends WP_Widget(), to name the function with the ops to same thing.
    ____________

    So, easy problem: What do I have to I change? I do not know what ops means in this way and my oo programing skills are not the best – could somebody give me a hint?

    Best regards
    m0mo

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin NGG]’ is closed to new replies.