• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

error loading Custom View Settings

BruceLeeX

New Pleskian
PHP Catchable Fatal Error: Argument 1 passed to CommonPanel_Controller_Helper_Subscription::getPermissions() 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:
#0 Smb_Exception_Syntax::handleError(4096, Argument 1 passed to CommonPanel_Controller_Helper_Subscription::getPermissions() 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, /usr/local/psa/admin/plib/CommonPanel/Controller/Helper/Subscription.php, 167, Array ()) called at [/usr/local/psa/admin/plib/CommonPanel/Controller/Helper/Subscription.php:167]
#1 CommonPanel_Controller_Helper_Subscription::getPermissions() called at [/usr/local/psa/admin/panel/application/library/AdminPanel/Form/Final/ServicePlan/AdminPlanHostingPermissions.php:45]
#2 AdminPanel_Form_Final_ServicePlan_AdminPlanHostingPermissions->_getPermissions() called at [/usr/local/psa/admin/panel/application/library/AdminPanel/Form/Abstract/ServicePlan/Permissions.php:57]
#3 AdminPanel_Form_Abstract_ServicePlan_Permissions->init() called at [/usr/local/psa/admin/plib/Zend/Form.php:240]
#4 KICKED BY ME; post too long plus userdata
#5 KICKED BY ME; post too long plus userdata
#6 KICKED BY ME; post too long plus userdata
#7 KICKED BY ME; post too long plus userdata
#8 AdminPanel_Form_Abstract_ServicePlan->init() called at [/usr/local/psa/admin/panel/application/library/AdminPanel/Form/Final/ServicePlan/AdminPlan.php:49]
#9 AdminPanel_Form_Final_ServicePlan_AdminPlan->init() called at [/usr/local/psa/admin/plib/Zend/Form.php:240]
#10 Zend_Form->__construct(Array ()) called at [/usr/local/psa/admin/plib/CommonPanel/Form.php:60]
#11 CommonPanel_Form->__construct() called at [/usr/local/psa/admin/panel/application/controllers/ServerController.php:124]
#12 ServerController->adminPlanAction() called at [/usr/local/psa/admin/plib/Zend/Controller/Action.php:513]
#13 Zend_Controller_Action->dispatch(adminPlanAction) called at [/usr/local/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php:295]
#14 Zend_Controller_Dispatcher_Standard->dispatch(Zend_Controller_Request_Http Object ([] => Array ([0] => _GET,[1] => _POST),[] => /admin/server/admin-plan,[] => /admin,[] => ,[] => /server/admin-plan,[] => Array ([controller] => server,[action] => admin-plan,[module] => default),[] => ,[] => Array (),[] => 1,[] => default,[] => module,[] => server,[] => controller,[] => admin-plan,[] => action), Zend_Controller_Response_Http Object ([] => Array (),[] => Array (),[] => Array (),[] => Array (),[] => 200,[] => ,[] => ,[headersSentThrowsException] => 1)) called at [/usr/local/psa/admin/plib/Zend/Controller/Front.php:954]
#15 Zend_Controller_Front->dispatch() called at [/usr/local/psa/admin/panel/application/library/AdminPanel/Application/Web.php:20]
#16 AdminPanel_Application_Web->run() called at [/usr/local/psa/admin/panel/application/public/index.php:15]
 
One of upgrade actions was not performed properly. Admin plan initialized in script upgrade_admin_simple_plan_permissions_1013.php called during upgrade.

Please check autoinstaller3.log file for additional information on why this script has been failed.

In order to fix your instance you execute this script again:
/usr/local/psa/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php
 
autoinstaller3.log

mknod: `/var/www/vhosts/chroot/dev/null': File exists

===> Cumulative upgrade has been started
Subdomains DNS zones were upgraded.
PHP Fatal error: Call to a member function properties() on a non-object in /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php on line 27

**** Product post-install started.

run command
i guess you missed bin under /usr/local/psa/bin/sw-engine-pleskrun
/usr/local/psa/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php
samer error:
PHP Fatal error: Call to a member function properties() on a non-object in /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php on line 27

Fatal error: Call to a member function properties() on a non-object in /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php on line 27

/tmp/plesk_11.0.9_installation.log
===> Perform upgrade from 1013
Trying to Upgrade mode of DNS zones for subdomains... done
Trying to Upgrade permissions for Admin Simple Plan...
WARNING!
Some problems are found during fail\nnCannot upgrade permissions for Admin Simple Plan. Please run /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php manually.(see log file: /tmp/plesk_11.0.9_installation.log)

Continue...
 
Such error appeared if there is no row for admin plan in database.

I can suggest to create it by launching
/usr/local/psa/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/create_default_simple_template.php

It will be nice to understand what is the reason of this problem. If this is possible, please send credentials to your server in private message. Or if you have support ticket for that problem, you can send to me ticket id, I can check it.
 
run the commands:
/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
and now its working. thanks a lot.

currently its just a testing machine for me. if you need access please let me know.
 
Since you said its just a test, then PM the root logins and will look at it for you.
 
Thanks for all of you for providing the solution of this problem and helping all of us.
 
BruceLeeX, it still will be very nice if you provide access to your server for analysis of root cause of this problem. Please send credentials to me in private message.
 
Back
Top