• In the backend of my site, i’m getting this error:
    Warning: Invalid argument supplied for foreach() in /var/www/wp-content/plugins/give/src/License/PremiumAddonsListManager.php on line 42

    a bunch of times. Its probably 30+ times at the top of my screen. I don’t have a plugin called Premium Addons List Manager.

    • This topic was modified 3 years, 8 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • the plugin is Give
    plugins/give

    Warnings are just warnings and should be turned off on a production site anyway.

    Notices and Warnings are not Errors.

    Notices and Warnings are to help developers clean up code issues e.g. the Notice might be that a function is deprecated in a future release. Or a Warning may be that a variable has not been set before being used.

    In general – on a production site – you should have Notices and Warning set not to display.

    This is easy to do, you can edit your wp-config.php file and set`

    ini_set('display_errors','Off');
    ini_set('error_reporting', E_ALL );
    define('WP_DEBUG', false);
    define('WP_DEBUG_DISPLAY', false);

    Or if that is too technical – just raise a support ticket to your host to ask them to suppress PHP Notices and Warnings.

Viewing 1 replies (of 1 total)
  • The topic ‘Warning: Invalid argument’ is closed to new replies.