Jump to content

Dropdown list display error on back office


hisapon

Recommended Posts

Hello.
I installed prestashop 1.7.6.5 to VPS server.
After installed, I accessed configure> General page to Enable SSL setting.
But I saw Dropdown list display error on the page (Please see attached image).

And those items cannot be selected or clicked.
The other Yes No buttons can be toggled.
The switch does not save the changes when I press the SAVE button.

I have tried it with other older versions of Prestashop(1.7.6.4, 1.7.6.3, 1.7.6.1)
Only 1.7.7.0 Beta1 was displayed successfully.
But this version is unfavorable to me because of the theme I use.

Please give some advice.

VPS Server: CentOS7+Apache2.4.6+PHP7.4.6

ing1.jpg

  • Like 1
Link to comment
Share on other sites

Thank you for your help!
I work with PrestaShop 1.7.6.5 (fresh installation) and had PHP 7.4 installed. Menu's don't work in the back office and you cannot select or safe changes. In my case Installing PHP 7.3 solved the problem.

Carl

  • Like 1
Link to comment
Share on other sites

  • 4 months later...

You may also change in the file

\src\PrestaShopBundle\Resources\views\Admin\TwigTemplateForm\form_div_layout.html.twig
find block widget_attributes

{%- block widget_attributes -%}
change
id="{{ id }}" name="{{ full_name }}"
to
{{- " " -}} id="{{ id }}" name="{{ full_name }}"
This will add a space before the id attribute and the selects will work on php 7.4

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...