Error message when manually adding a site

I got the following error when trying to manually add a site:

Warning: array_diff(): Argument #1 is not an array in /home/usingess/public_html/wp-content/plugins/pro-sites/pro-sites-files/modules/premium-plugins-manager.php on line 322

Warning: Cannot modify header information - headers already sent by (output started at /home/usingess/public_html/wp-content/plugins/pro-sites/pro-sites-files/modules/premium-plugins-manager.php:322) in /home/usingess/public_html/wp-includes/pluggable.php on line 1207

  • Vaughan
    • Support/SLS MockingJay

    Hi antkat,

    i'm not seeing this on my install.

    Do you have WP_DEBUG set to true in wp-config.php

    If so can you change it to false, these are just warnings so shouldn't prevent the plugin working anyway. But having debug errors displayed can actually cause issues.

    Do you have the plugins manager add-on activated? if so, can you try and select some options in the plugins manager itself, and then add a new site?

    Failing that, can you try the following;

    Open up & edit the following file.


    Find the following on or near line 320

    $old_level_plugins = $psts->get_setting( 'psts_ppm_' . $old_level );

    Replace with;

    $old_level_plugins = array($psts->get_setting( 'psts_ppm_' . $old_level ));

    Hopefully that should fix it.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.