Article ID: 121692, created on May 22, 2014, last review on Aug 14, 2016

  • Applies to:
  • Operations Automation 6.0
  • Operations Automation 5.5
  • Business Automation 5.5
  • Business Automation 6.0
  • APS 2.x


The following error is thrown when trying to provision resource:

Internal Server Error: Trying to get property of non-object at /usr/share/aps/php/aps/2/aps.php:584 


It is an attempt to get a property of an object but the object is empty. For instance the error might be displayed when user wants to get subscription ID by creating a relation to it:

"relations": {
    "subscription": {
        "type": "",
        "collection": false

and tries to get the id in provision() method:

$subscription_id = $this->subscription->subscriptionId;

But since there is no required: true attribute in resource schema the link was not created automatically so $this->subscription is empty and trying to get 'subscriptionId' property of this object would result in "Trying to get property of non-object" error.


There is no general solution for this error, it is needed to add troubleshooting code and verify object existence before trying to use it.

Search Words


void Plesk::APS::ApplicationServiceInstanceReconfigurator::reconfigureServiceInstance

70bf700e0cdb9d7211df2595ef7276ab 717db81efe94e616312b74fb03a5d474 5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e 198398b282069eaf2d94a6af87dcb3ff 801221f8cd76fba7300d1e6817c8e08b 92711db0799e8aefe8e51f12dace0496 3627d36199b8ff577605df76e2fa222b bb7e9177fb03488961a3ea554120f328 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF