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.

Announcement

Collapse
No announcement yet.

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

Collapse
X
  • 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 10.2.1.27 and AxigenCliApi-10.2.0.1 our code for creating a new maildomain isn't working anymore.

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

    $O_domain->configAccountDefaultLimits()->save();

    // 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


    #2
    Hello,

    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,
    Ioan

    Comment


      #3
      Please download the patched CLI API package from the link:

      http://support.axigen.com/cliapi-10....0.2.0.2.tar.gz

      and let us know if everything works as expected.

      Thank you.

      Comment


        #4
        Hi Ioan, Hi MaXiM,

        the update worked.

        Thanks a lot

        Best Regards

        Comment

        Working...
        X