Title: Errors after upgrade
Last modified: August 21, 2016

---

# Errors after upgrade

 *  Resolved [bevineau101](https://wordpress.org/support/users/bevineau101/)
 * (@bevineau101)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/errors-after-upgrade-3/)
 * Hello Mark-
    The plugins work but I get these errors. Any suggestions? Please
   advise…
 * Warning: array_merge() [function.array-merge]: Argument #1 is not an array in/
   home/content/25/9298325/html/wp-content/plugins/game-schedules/mstw-game-schedule.
   php on line 2001
 * Warning: Invalid argument supplied for foreach() in /home/content/25/9298325/
   html/wp-content/plugins/game-schedules/mstw-game-schedule.php on line 2005
 * [http://wordpress.org/plugins/game-schedules/](http://wordpress.org/plugins/game-schedules/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/errors-after-upgrade-3/#post-4445530)
 * Hi benvineau101-
    Thanks for pointing this out. These are WARNINGS not ERRORS,
   and they won’t hurt anything. I’m working to eradicate them all. There are a 
   couple of things you can do:
 * (a) First, are you running **version 4.0.1**? That’s where I’ve made the fixes.
   Plus a couple of real bugs were fixed. See the plugin’s Changelog for more details.
 * (b) TURN DEBUG OFF. It should always be off on production servers. You can read
   more about this issue [in this blog post](http://shoalsummitsolutions.com/game-schedules-4-0-bugs-version-4-0-1/).
 * (c) Or if you are developing a theme or plugin and need debug on either live 
   with the warnings on the screen, or if that bugs you, send them to a log file
   for later review.
 * (c) Please keep sending them two me and I’ll weed out the ones I know about as
   time allows.
 * Thanks. Let me know how it goes.
 * -Mark
 *  [websparks](https://wordpress.org/support/users/websparks/)
 * (@websparks)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/errors-after-upgrade-3/#post-4445607)
 * For your info I get similar errors on frontend
 * > Warning: array_merge() [function.array-merge]: Argument #1 is not an array 
   > in /home/b00kie/public_html/wp-content/plugins/game-schedules/mstw-game-schedule.
   > php on line 428
   > Warning: Invalid argument supplied for foreach() in /home/b00kie/public_html/
   > wp-content/plugins/game-schedules/mstw-game-schedule.php on line 431
 * In my config file DEBUGGING is off (**define(‘WP_DEBUG’, false);**)
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/errors-after-upgrade-3/#post-4445609)
 * Thanks websparks. Yes, you will get the same errors on the front end. It’s because
   some display settings/(options) are empty. I will weed these two out in the next
   release.
 * I’m not sure why debug messages are being written to the secreen if DEBUG is 
   off. But let me assure you the plugin is not turning DEBUG on in your WordPress
   configuration. Really. Something else is. You might want to check out this Codex
   article [http://codex.wordpress.org/Debugging_in_WordPress](http://codex.wordpress.org/Debugging_in_WordPress)
   and/or try sending debug output to a log rather than the screen. The link to 
   the blog post above also shows a way to turn the display off within the plugin
   by adding a line to the code.
 * Let me know how it works out. Thanks.
 * -Mark
 *  [websparks](https://wordpress.org/support/users/websparks/)
 * (@websparks)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/errors-after-upgrade-3/#post-4445702)
 * Thanks Mark, hope you had a good xmas and New Year. I am pretty well stuck now
   with moving further with the Schedule plugin because of the errors. I realise
   that its a freebee so I cannot expect much. I was going to build a world cup 
   schedule on my site, it is still a while away, I am hoping that you can iron 
   out the bugs in the coming weeks, but if not I appreciate your contribution to
   the wordpress community. Cheers, Adrian
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/errors-after-upgrade-3/#post-4445703)
 * Hi websparks,
    Happy New Year. Sorry that you are stuck.
 * First, to the best of my knowledge there are **NO ERRORS** in the Game Schedules
   plugin. **ERRORS** stop program execution. So if that’s happening, please send
   me a screenshot of the **ERROR** message and I will do my best to fix it.
 * I believe what you are seeing are **NOTICES** and **WARNINGS**. They do not stop,
   or even significantly impact, the program’s execution. They are certainly **NOT
   BUGS**. You can witness the plugin working pretty well on [my development site](http://dev.shoalsummitsolutions.com/).
 * I believe your frustration is coming from these notices and warnings being printed
   on the front and back end (admin) displays. Understandable. So again, you can
   fix that by stopping the debug messages from printing to the screen. There are
   several ways `define('WP_DEBUG', false);` might be changed or ignored but I can’t
   debug every user’s WP install or theme. If you follow the directions in the references
   I gave you above, you should be able to redirect the annoying messages from the
   screen to a file. It seems that will fix your problem. (If you would like some
   help doing that, please contact me at [shoalsummitsolutions.com](http://shoalsummitsolutions.com/contact-us/).)
 * Regards,
    -Mark

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Errors after upgrade’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/game-schedules_f8f8f8.svg)
 * [Game Schedules](https://wordpress.org/plugins/game-schedules/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/game-schedules/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/game-schedules/)
 * [Active Topics](https://wordpress.org/support/plugin/game-schedules/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/game-schedules/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/game-schedules/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/errors-after-upgrade-3/#post-4445703)
 * Status: resolved