• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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