CheeryReaper Posted December 7, 2019 Share Posted December 7, 2019 Hello! I seem to have an issue with the general js functionality, things like dropdowns and buttons don't seem to work. Dropdowns look like this And nothing happens when I click on them, same goes if I want to save settings, everything reloads, but the settings stay the same. Any help would be appreciated. Link to comment Share on other sites More sharing options...
selectshop.at Posted December 8, 2019 Share Posted December 8, 2019 Which php-version are you using ? And which Prestashop version ? Link to comment Share on other sites More sharing options...
CheeryReaper Posted December 8, 2019 Author Share Posted December 8, 2019 PHP version 7.4 and Prestashop 1.7.6.2. Link to comment Share on other sites More sharing options...
selectshop.at Posted December 8, 2019 Share Posted December 8, 2019 Prestashop 1.7.6.x does not work with php 7.3, nor with php 7.4. So definitely not a bug. Please use only one of the recommended php-version. https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ 1 Link to comment Share on other sites More sharing options...
CheeryReaper Posted December 8, 2019 Author Share Posted December 8, 2019 I didn't know that. I've changed the version to 7.0 and everything works, thanks! Link to comment Share on other sites More sharing options...
selectshop.at Posted December 8, 2019 Share Posted December 8, 2019 Ok. So I can add "solved" to your question ? Link to comment Share on other sites More sharing options...
CheeryReaper Posted December 8, 2019 Author Share Posted December 8, 2019 Yes, go ahead. Link to comment Share on other sites More sharing options...
vani85 Posted April 25, 2020 Share Posted April 25, 2020 Hi, i am also having the same problem, how to change the PHP version. Any help is appreciated. Thanks Vani Link to comment Share on other sites More sharing options...
ruilong Posted November 13, 2020 Share Posted November 13, 2020 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 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now