Jump to content

undefined error in combination products version 8.1


Recommended Posts

I upgraded from Prestashop 8.0 to 8.1. I have loaded some products with combination, The problem is that when I change combination it shows the undefined error.

if I disable friendly URLs the problem does not arise. I have a dedicated server with nginx php 8.1 and I have mencached caching enabled. However, this problem also occurs with non-native modules deactivated.

The shop is currently in 3 languages, Italian, English and French

Thanks to all

 

screen.png

Link to comment
Share on other sites

Try editing your NGINX configuration to include the following: 

server {
[...]
  location ~* ^/(en|it|fr)(/.*)?$ {
    rewrite ^/(en|it|fr)(/.*)?$ /index.php?lang=$1&$args last;
    try_files $uri $uri/ /index.php$is_args$args;
  }
[...]
}
Edited by seakrebel
got working code (see edit history)
Link to comment
Share on other sites

  • 1 month later...

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...