• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Question pm_Settings::set always report missing class

qtwrk

Basic Pleskian
Hi,

I need to run

pm_Settings::set('some-thing-here', 'some-value-here')

so I wrote a php , and run it by "plesk php php.php" , the problem now I have is

It keeps return Class no found

PHP Fatal error: Class 'DomainService' not found in /usr/local/psa/admin/plib/AbstractDSMail.php on line 3
exit status 255

I even tried blindly include all files /usr/local/psa/admin/plib , still having that issue.

any help would be much appreciated.
 
Back
Top