If you are hosting these errors, first open the phpmyadmin page and enter the "ps_configuration" table and write the following code

SELECT * FROM `ps_configuration` WHERE `name` LIKE '%ssl%'

Set "PS_SSL_ENABLED" and "PS_SSL_ENABLED_EVERYWHERE" to 1 on the screen that appears after searching