Support » Plugin: Game Schedules » Warnings

  • Resolved ovj92

    (@ovj92)


    Hi Mark!

    Great tool, using it for my team’s website.
    I do however get a warning message:

    “Warning: array_merge(): Argument #1 is not an array in /hsphere/local/home/masterfa/masterfade.com/domers/wp-content/plugins/game-schedules/mstw-game-schedule.php on line 428 Warning: Invalid argument supplied for foreach() in /hsphere/local/home/masterfa/masterfade.com/domers/wp-content/plugins/game-schedules/mstw-game-schedule.php on line 431”

    The schedule shows and it’s looking good but would like to remove the warning message. I checked my wp-config.php and the debug is set to false. How can I remove the warning message?

    Thanks, Øivind

    https://wordpress.org/plugins/game-schedules/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ovj92

    (@ovj92)

    I think I solved it. I got the warnings when I had the Media Links to show. But when I set it to Hide, the warning message disappeared.
    Is it because when Media Links is set to Show, it is looking for media but can’t find any?

    Øivind

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi Øivind,
    The warnings are because you have debug on on your site. It is not recommended to have debug on on a live site. You can read more about this issue on my shoalsummitsolutions.com blog.

    Regards,
    -Mark

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warnings’ is closed to new replies.