Jump to content

Prestashop 8.0.4 error 500 when click configure Official GDPR compliance


giasemis

Recommended Posts

Hello 
I use Prestashop 8.0.4 and php 8.0.28 fresh install.

When I press configure on Official GDPR compliance I receive server error 500.

Enable the debug and I receive the following error


An exception occurred while executing 'SELECT * FROM ps_psgdpr_log l':

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xxxxxnew_xxxx.ps_psgdpr_log' doesn't exist

Link to comment
Share on other sites

ok, 

there is a temporary solution reported in github https://github.com/PrestaShop/PrestaShop/issues/32148

 

pen file "\modules\psgdpr\src\Repository\LoggerRepository.php "

update line

  $query = $queryBuilder->select('*')->from('ps_psgdpr_log', 'l');  

with line 

  $query = $queryBuilder->select('*')->from('._DB_PREFIX_._psgdpr_log', 'l');  

and it is working 

 

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