Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5399

Order: Cannot manage an affiliate with certain date format settings

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.11.0
    • Fix Version/s: 5.11.3
    • Component/s: Plugins, Staff Interface
    • Labels:
      None

      Description

      To reproduce:

      1. Under Settings > Company > General > Localization, update Date Format from "M d, Y" to "d. m. Y", or "j, n, Y" which are valid formats.
      2. Visit Clients > Affiliates, and click to manage an Affiliate.

      Note white screen + following error logged:

      [2025-04-02T16:02:07.619780+00:00] general.ERROR: DateMalformedStringException: Failed to parse time string (02. 04. 2024) at position 0 (0): Unexpected character in /home/user/public_html/5110/vendors/minphp/date/src/Date.php:459 Stack trace: #0 /home/user/public_html/5110/vendors/minphp/date/src/Date.php(459): DateTime->__construct() #1 /home/blestau/public_html/5110/vendors/minphp/date/src/Date.php(217): Minphp\Date\Date->dateTime() #2 /home/user/public_html/5110/vendors/minphp/date/src/Date.php(102): Minphp\Date\Date->format() #3 /home/user/public_html/5110/plugins/order/controllers/admin_main.php(595): Minphp\Date\Date->cast() #4 /home/user/public_html/5110/plugins/order/controllers/admin_main.php(531): AdminMain->getStatistics() #5 /home/user/public_html/5110/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): AdminMain->affiliates() #6 /home/user/public_html/5110/index.php(21): Dispatcher::dispatch() #7

      Unknown macro: {main}

      My assumption is that we're not using the correct date here.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: