Repro Steps
Under Server Management left nav item, click on the Tools and Settings
Under Panel, click on the first item -> Custom View Settings
Immediately an exception is thrown
PHP Catchable Fatal Error: Argument 1 passed to CommonPanel_Controller_Helper_Subscription::getPer missions() must implement interface Plan_Interface, null given, called in /usr/local/psa/admin/panel/application/library/AdminPanel/Form/Final/ServicePlan/AdminPlanHostingPermissions.php on line 45 and defined
Line: 167
File: /usr/local/psa/admin/plib/CommonPanel/Controller/Helper/Subscription.php
Stack Trace:
[ The stack trace is too large to post here, it is at http://pastebin.com/rXaSypcp ]
My Interface Views are set to Service Provider view, but even if that is the cause it should not throw an exception, it should either hide this area from being accessed, or provide a friendly error message. Well here is how to fix that:
Basically you go into SSH and run these 2 commands, and it will be fixed afterwards:
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/create_default_simple_template.php
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php
#