I am having strange trouble in my Magento 2.1.7 website. As per my client's requirement, I changed category URL suffix and product URL suffix to blank.
Issue 1: After making such changes in the settings, I got the following error:
Error filtering template: Element with ID 'widget.products.list.pager' already exists.
Issue 2: After getting above error, I tried to reindex, flush cache and deploy static content, but nothing worked. Then I tried to revert back my changes and set .html as URL suffix again.
Now the setting is being saved in the admin panel but nothing is being changed in the frontend.
I am still getting category and product URLs without .html.
Kindly suggest, how can I get rid of such problem.
Thanks in advance