Skip to content

fix(setup): improve PHP version error message in bootstrap#16922

Open
Ibochkarev wants to merge 1 commit intomodxcms:3.xfrom
Ibochkarev:fix/14990-php-version-message
Open

fix(setup): improve PHP version error message in bootstrap#16922
Ibochkarev wants to merge 1 commit intomodxcms:3.xfrom
Ibochkarev:fix/14990-php-version-message

Conversation

@Ibochkarev
Copy link
Collaborator

What does it do?

Updates the PHP version requirement error in the setup bootstrap: the title is changed to "PHP version is not supported" and the description to "Your PHP version (%s) is no longer supported. Please upgrade to PHP %s or higher to install MODX."

Why is it needed?

Clearer, more neutral wording when the user's PHP version is below the minimum. Avoids a harsh "Wrong PHP Version!" message and gives a direct upgrade instruction. Addresses the UX concern from issue #14990 (showing a warning instead of a fatal error when possible).

How to test

  1. Run the MODX installer with PHP < 7.4 (or the configured minimum).
  2. Confirm the requirements screen shows the new title and description instead of "Wrong PHP Version!".

Related issue(s)/PR(s)

Resolves #14990 (message part).
Split from #16921 per review (separate concern from PHP extension requirements).

- Title: 'PHP version is not supported'
- Description: 'Your PHP version (%s) is no longer supported. Please upgrade to PHP %s or higher to install MODX.'

Split from modxcms#16921 per review; relates to modxcms#14990.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MODX3 Setup: Uncaught Error: Call to undefined function mb_split()

1 participant