PHP-Nuke Titanium HQ
     
Design Wicked Inc.
PHP-Nuke Titanium v4.0.4 / PHP v8.2.17
Sponsor Tron for PHP-Nuke Titanium
::: There is so much more here to see, it takes 30 seconds to register an account and we don't even verify with e-mail! Just register we promise you won't be sorry... ::: Login or Register
IPHub is an IP lookup website featuring Proxy/VPN detection. A free API is available, so you can perform fraud checks on online stores, detect malicious players on online games and much more! Look at this! Click here Look at this! to sign up for FREE today at ipHub ::: Country Music: The Soul Circus Cowboys ::: Sponsor: Brandon Maintenance Management, LLC Phone: 813-846-2865 ::: Sponsor: Big Country Radio - The EJ Morning Show :::

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/includes/auth.php on line 268

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/includes/auth.php on line 268

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/includes/auth.php on line 268

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/includes/auth.php on line 268

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/includes/auth.php on line 276

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/includes/auth.php on line 276

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/includes/auth.php on line 268

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/includes/auth.php on line 268

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/includes/auth.php on line 268

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/includes/auth.php on line 268

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/includes/auth.php on line 328

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/modules/Forums/viewtopic.php on line 406

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/modules/Forums/viewtopic.php on line 536

Warning: Undefined array key "session_logged_in" in /home/dev4/public_html/modules/Forums/viewtopic.php on line 788

Warning: Undefined array key "session_id" in /home/dev4/public_html/includes/functions.php on line 1015

 
Recent Topics   Next 5 >>  
Forum Replies Last Post
Oh yes ! Now here is some Northern fried wierd shit! 💩
Started by RECTOR
PHP-Nuke Titanium - Modules (Root) 13 Thu Oct 26, 2023 5:33 pm
by Technocrat
What year is it!?
Started by Technocrat
PHP-Nuke Titanium - Community 0 Thu Oct 26, 2023 5:05 pm
by Technocrat
Dragonfly
Started by Critical
PHP-Nuke Titanium - Community 2 Thu Apr 20, 2023 6:50 am
by Critical
Can you PM me the private link to the PHP 9 Repo
Started by YuckFou
PHP-Nuke Titanium - PHP 1 Tue Apr 18, 2023 11:08 am
by CodeBuzzard
Your_Account Module question?
Started by CyBorg
PHP-Nuke Titanium - Modules (Root) 1 Thu Apr 06, 2023 7:39 am
by Negan

What to do when a $lang def is missing in a PHP file?
Post new topic Reply to topic printer-friendly view List users that have viewed this topic Thank Post   Forum Index PHP-Nuke Titanium - Core
View previous topic View next topic
CodeBuzzard Reply with quote
Developer
Developer
VIP Member
Joined Aug 28, 2022
Reputation: 28.7
votes: 3
online
What to do when a $lang def is missing in a PHP file?
by CodeBuzzard Tue Dec 27, 2022 6:11 pm

These two options ($lang['Status_unlocked'] and $lang['Status_locked']) were missing from the language files.

Added this just above the code throwing the warning in PHP 8

PHP:  [ Select all ]

$lang['Status_unlocked'] ??= 'Unlocked';

$lang['Status_locked'] ??= 'Locked'



Back to top
View user's profile Send CodeBuzzard a private message
Display posts from previous:

Post new topic Reply to topic printer-friendly view List users that have viewed this topic Thank Post   Forum Index PHP-Nuke Titanium - Core All times are UTC - 5 Hours

Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Where is rectorphp storing cache files? 🧰 6 CyBorg 2204 Sat Mar 25, 2023 8:12 am
HiJacker View latest post
No new posts [ Poll ] How do you Edit your PHP-Nuke Titanium Code? 0 TheGhost 816 Sat Feb 11, 2023 10:48 pm
TheGhost View latest post
No new posts Blog Topic missing Language definition on save topic! 4 CodeBuzzard 1249 Fri Dec 23, 2022 4:18 pm
RECTOR View latest post
No new posts What numb nut wrote code to strip the extension from the avatars? 0 CyBorg 707 Tue Dec 13, 2022 8:28 am
CyBorg View latest post
No new posts Fixing code errors in the entire CMS from years gone back... 1 CodeBuzzard 990 Tue Nov 01, 2022 3:37 pm
TheGhost View latest post