Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Steve

    (@steveatty)

    It’s a warning not an error and you really shouldn’t have warnings being dumped to the browser on a live site. I’ll look at the code when I get home this evening…i

    Plugin Author Steve

    (@steveatty)

    OK the problem is this line:

    if (stristr(substr($imgsrc, 0, 8), ‘://’) ===false) {

    for some reason the code is getting $imgsrc as an array and not a string. The error isn’t occuring here which suggests its something unique to your site.

    How comfortable do you feel about editing code? If you are OK with that then could you find that line and add BEFORE it:

    var_dump($imgsrc);

    so it looks like :

    if ($imgsrc) {
        var_dump($imgsrc);
        if (stristr(substr($imgsrc, 0, 8), '://') ===false) {

    And got to the front end and see what it throws out before the error message – and post it in here.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Wordbooker] parameter 1 Warning’ is closed to new replies.