Skip to content

Big red warning message into PrestaShop when not using the right PHP version #20862

Description

@matks

Is your feature request related to a problem?

I just saw 2 bug reports about very, very weird behaviors ... the people reporting them said "I upgraded to 1.7.6.7 and now this page does [weird behavior]". Obviously I could not reproduce the bugs.

Finally the main reason behind this very weird bug was they were not using the right PHP version.

Describe the solution you'd like

In order not to waste users time and PrestaShop team time, I suggest that, on Back Office pages, when we detect that user PHP version is not supported, we display a BIG RED MESSAGE telling this to user.

This will help users troubleshoot issues faster 😄

The message would say You are using a PHP version that is not supported and this can affect your store. Please check PHP requirements and change for the suitable PHP version. in Admin.Notifications.Warning. - edited by @LouiseBonnard on September 11th, following @Julievrz's wording suggestion.

It should be displayed only on the dashboard. Here is the design mockup:

image

supportedphp-alert (1)

Here are the specifications: PrestaShop/prestashop-specs#173

Metadata

Metadata

Labels

BOCategory: Back OfficeFeatureType: New FeaturePM ✔️Status: check done, behavior approvedReadyStatus: Issue is ready to be worked onStaleStale Action ClosedUX ✔️Status: check done, design approvedWording ✔️Status: check done, wording approved

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions