• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Undefined array key "by_time"

klowet

Basic Pleskian
Server operating system version
Debian 12
Plesk version and microupdate number
18.0.57 Update #2
Hi

When I want to change a subscription from the default 'Unlimited' plan to a custom one, this error is logged in panel.log:

[06-Dec-2023 10:53:39 Europe/Brussels] PHP Warning: Undefined array key "by_time"; File: /opt/psa/admin/plib/Domain/Properties.php, Line: 283
[2023-12-06 10:53:39.655] 2000:657044a3389e8 ERR [panel] PHP Warning: Undefined array key "by_time"; File: /opt/psa/admin/plib/Domain/Properties.php, Line: 283
[06-Dec-2023 10:53:39 Europe/Brussels] PHP Warning: Undefined array key "by_time" in /opt/psa/admin/plib/Domain/Properties.php on line 283

1701856558419.png

This is in a reseller account which doesn't have the permission 'Log rotation management' enabled.
 
You first need to adapt the target settings to the new plan limits, then you can "lower" the available options.
 
Back
Top