News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Error "8: Undefined variable: get_already_loaded"

Started by SMiFFER, February 09, 2017, 03:18:55 PM

Previous topic - Next topic

SMiFFER

I am running latest 2.0.13

This error occurs quite often in my log, more details are:
8: Undefined variable: get_already_loaded
File............../forum/Sources/Load.php
Line: 1929

This error-message does not tell me much, something in the file "Load.php" must be wrong.

How do I solve this?
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

Shambles


SMiFFER

These are the lines 1927-1932 (1930 being that empty line)

   // Do we want the English version of language file as fallback?
   if (empty($modSettings['disable_language_fallback']) && $lang != 'english')
      loadLanguage($template_name, 'english', false);

   if (!$force_reload && isset($already_loaded[$template_name]) && $already_loaded[$template_name] == $lang)
      return $lang;
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

Shambles

Quote from: SMiFFER
8: Undefined variable: get_already_loaded
File............../forum/Sources/Load.php
Line: 1929

Are you sure that's the complete error message?

Dzonny

Can you attach your Load.php file here?
Also, if you can write a list of your installed mods that would be helpful as well.

Kindred

I am betting that there is an EVAL in that error message which he didn't include
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Shambles

Quote from: Kindred
I am betting that there is an EVAL in that error message which he didn't include

That's the point I was hinting at. A lot of "Load.php" errors actually refer to a pre-evaluated template.

SMiFFER

Quote from: Dzonny on February 09, 2017, 07:22:14 PM
Can you attach your Load.php file here?
Also, if you can write a list of your installed mods that would be helpful as well.


Mods as listed here:
1.    SMF 2.0.12 Update    1.0     
2.    Signature Option Post    1.1.1    
3.    Better Profile Menu    2.4    
4.    Activity Bar    1.1    
5.    Sorted BBCode List for SMF 2.0.x    1.1    
6.    Global Topics    2.2    
7.    Unknown Actions    1.2    
8.    SimpleColorizer    1.1    [ Install Mod ]   
9.    Admin Notepad    2.0.2    
10.    Display Signatures Only Once Per Page    1.0.3    
11.    Hide ip stuff for users    1.05    
12.    Activity in Profile    1.1    
13.    Indent BBC    1.0.1    
14.    Alternate User Posting    1.0.1    
15.    Last Active On MemberList    1.4    
16.    Tidy Child Boards    2.0    
17.    Lazy Admin Menu    2.3    
18.    SMF Mailing List Mod    2.03    
19.    Redirection Topics    1.0.3    
20.    Post History    1.03    
21.    Join Reason    1.5    
22.    Personal Messages to Membergroups    1.4.3     
23.    SMF 2.0.13 Update    1.0    
24.    SMF Notify Group    2.2    
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

SMiFFER

Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

SMiFFER

Quote from: Shambles on February 09, 2017, 07:15:52 PM
Quote from: SMiFFER
8: Undefined variable: get_already_loaded
File............../forum/Sources/Load.php
Line: 1929

Are you sure that's the complete error message?

Yes. Cause I only removed the server.names.
/forum is a root directory on my server
There is nothing in between.
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

Illori

so the word eval does not show up anywhere in the error message?

Dzonny

Can't hurt to turn it off and see if the error still occurs, there is a checkbox in the server settings, to disable eval, can you please do that, remove all your errors from error log and see if this one still pops out?

SMiFFER

Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

Steve

DO NOT pm me for support!

SMiFFER

Quote from: Steve on February 25, 2017, 04:11:47 PM
Did you do as Dzonny asked?
No.
Reason:
Disable evaluation of templates IS already checked, i.e. turned off.
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

Arantor

Considering the thing referenced in the error does not show up in the code sample given, something about your report must be inaccurate in some fashion.

SMiFFER

Quote from: Arantor on March 15, 2017, 11:46:31 AM
Considering the thing referenced in the error does not show up in the code sample given, something about your report must be inaccurate in some fashion.
or this is another one of these absolutely misleading SMF-error-messages
(remember the last BBCode bug...)
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

SMiFFER

I have now deinstalled both LAZY mods (see my mod-list)
and the error disappeared.

Will try again...
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

Advertisement: