Axigen Community Forum

  • If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.


No announcement yet.

->configAccountDefaultQuotas()->totalMessageSize does not work anymore

  • Filter
  • Time
  • Show
Clear All
new posts

    ->configAccountDefaultQuotas()->totalMessageSize does not work anymore

    Hi there,

    we are using the cliapi for a few years now. Since last update to Axigen and AxigenCliApi- our code for creating a new maildomain isn't working anymore.

    $O_domain->configAccountDefaultLimits()->sentRecipientsCount = 1000;
    $O_domain->configAccountDefaultLimits()->sentMessagesInterval = 60*60*24;


    // the above code works as before

    $O_domain->configAccountDefaultQuotas()->totalMessageSize = 2097152; // <= this produces the errors
    $O_domain->configAccountDefaultQuotas()->save(); // <= this produces the errors

    We get the following errors:

    Creating default object from empty value Call to a member function save() on a non-object in ... It looks like $O_domain->configAccountDefaultQuotas() would not return an Object. Can you please help. Thanks in advance nhartmann


    We'll check this issue internally and come back with our findings.

    Just to have a complete report could you please confirm the versions of Axigen / Axigen CliApi you have used before the upgrade?

    Best regards,


      Please download the patched CLI API package from the link:

      and let us know if everything works as expected.

      Thank you.


        Hi Ioan, Hi MaXiM,

        the update worked.

        Thanks a lot

        Best Regards