Warning: in_array() expects parameter 2 to be array, string given in /home/careerv/...

I get this message when I preview a page on the course I am creating...

Warning: in_array() expects parameter 2 to be array, string given in /home/careerv/careerveneer.com/10in15/wp-content/plugins/coursepress/includes/unit-modules/checkbox_input.php on line 130

How do I fix this?

  • Tyler Postle
    • CGO

    Hey Fay,

    Hope you're doing well today and welcome to the WPMU DEV Community!

    I've reproduced the same warning on my install, I'll report this to the developer so it can get fixed up asap :slight_smile:

    Thanks for letting us know.

    Soon as the fix is pushed out either myself or the developer will post back on the thread.

    Let us know if you need any further assistance in the meantime.

    Cheers,
    Tyler

  • Fay
    • New Recruit

    Ok, thanks Tyler, I managed a work around (deleting questions and re-entering)... I think it was because I tried placing answers into the 'front-end' and submitting them... Even though I don't think I was supposed to (submit button was blurred out)... I look forward to the update so I can play without causing further weird messages!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.