WordPress.org

Ready to get started?Download WordPress

Forums

Game Schedules
[resolved] Warnings (3 posts)

  1. ovj92
    Member
    Posted 5 months ago #

    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/

  2. ovj92
    Member
    Posted 5 months ago #

    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

  3. Mark O'Donnell
    Member
    Plugin Author

    Posted 5 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags