Getting the following error message for some time now, even with previous versions, never been able to solve them. Hoped that RC3 would solve it, but it doesn't.
How could i solve this.
Type of error: Undefined_vars
Error message:
8: Undefined index: privacy_policy
File: /var/www/clients/server/forum/Sources/Admin.php
Line: 318
Hey there.
That string should be in Agreement.{language}.php file:
$txt['privacy_policy'] = 'Privacy Policy';
What language you use on your forum?
Also in Admin.english.php (https://github.com/SimpleMachines/SMF2.1/blob/b9674508df9874c6d356e1b99fc95b553c2e1e6d/Themes/default/languages/Admin.english.php#L72)
EDIT: Lang packs may need fixed
Indeed, good spot.
Issue opened on github:
https://github.com/SimpleMachines/SMF2.1/issues/6297
Quote from: Dzonny on October 16, 2020, 05:20:40 AM
Hey there.
That string should be in Agreement.{language}.php file:
$txt['privacy_policy'] = 'Privacy Policy';
What language you use on your forum?
I'm using multiple languages, english and dutch
Can you confirm that you have the string from the above in your Admin.{language}.php file?
Quote from: Dzonny on October 19, 2020, 08:51:51 AM
Can you confirm that you have the string from the above in your Admin.{language}.php file?
I can't find those strings within the Admin.{language}.php file
Have added them now and the messages are gone.