Undefined index: privacy_policy

Started by arjanhs, October 16, 2020, 05:14:23 AM

Previous topic - Next topic

arjanhs

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

Dzonny

Hey there.

That string should be in Agreement.{language}.php file:
$txt['privacy_policy'] = 'Privacy Policy';

What language you use on your forum?

live627


Dzonny


arjanhs

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

Dzonny

Can you confirm that you have the string from the above in your Admin.{language}.php file?

arjanhs

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

Advertisement: