Widget Warnings

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5642

    When i install the widget i get the following warnings:

    Warning: array_merge(): Argument #1 is not an array in /home2/nesport6/public_html/wp-content/plugins/mstw-schedules-scoreboards/includes/mstw-ss-schedule-widget.php on line 112

    Warning: Invalid argument supplied for foreach() in /home2/nesport6/public_html/wp-content/plugins/mstw-schedules-scoreboards/includes/mstw-ss-schedule-widget.php on line 115

    i have the debug in the config file set to false as well.

    #5643
    Mark
    Keymaster

      Hi Edward,
      What version of PHP are you running? Check out https://wordpress.org/about/requirements/ for the supported configurations.

      Also, WP_DEBUG = false in your config file should suppress all warning messages to the screen. Check out https://codex.wordpress.org/Debugging_in_WordPress

      -Mark

      #5644

      PHP version is 7.0.33

      #5645
      Mark
      Keymaster

        Okay, you are good there. Is there a problem besides the warnings? Did you succeed in turning them off the screen. You can still send them to a file, usually debug.log, but that file may get very large; many plugins generate warnings such as this.
        Let me know.

      Viewing 4 posts - 1 through 4 (of 4 total)
      • You must be logged in to reply to this topic.