WordPress.org

Forums

Game Schedules
[resolved] Warnings (3 posts)

  1. ovj92
    Member
    Posted 1 year 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 1 year 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 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags