News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Error loading user stats

Started by 420SA, May 26, 2015, 05:21:57 AM

Previous topic - Next topic

420SA

Hi there i'm currently experiencing an error on my forum when I try to view members stats. It gives me a few stats and then the following line is seen

Fatal error: Call to undefined function profile_stats() in /home/admsaco/public_html/Sources/Load.php(2239) : eval()'d code on line 1325

You can also see the error in the attachment. Are there any easy fixes for this? I assume it may have been caused by a mod...?

Thanks in advance!

Im running 2.0.10


margarett

First you need to disable template evaluation in your admin panel ;)
Then the "new" error should make more sense.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

420SA

Quote from: margarett on May 26, 2015, 05:32:07 AM
First you need to disable template evaluation in your admin panel ;)
Then the "new" error should make more sense.

Where do I find that option in the admin panel?

Illori

admin -> server settings Disable evaluation of templates

420SA

Thanks for your assistance guys.

It now shows this error

Fatal error: Call to undefined function profile_stats() in /home/admsaco/public_html/Themes/default/Profile.template.php on line 1325

Does this help?

margarett

Yes. Now we need a list of your installed MODs ;)

You probably have a MOD which wasn't successfully installed/uninstalled
profile_stats() is NOT a core SMF function...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

420SA

Mod Name   Version   
1.   SMF 1.1.21 / 2.0.10 Update   1.0   [ Uninstall ]
2.   SCEditor4Smf   0.5.1   [ Uninstall ]
3.   Better Profile Menu   1.9   [ Uninstall ]
4.   Say Thanks   1.3   [ Uninstall ]
5.   ENotify   2.0.2   [ Uninstall ]
6.   Tapatalk SMF 2.0 Plugin   4.2.2   [ Uninstall ]
7.   E-Arcade   3.0   [ Uninstall ]
8.   SMF 1.1.20 / 2.0.9 Update   1.0   [ Uninstall ]
9.   Advanced Attachments Uploader   2.0.3   [ Uninstall ]
10.   Customize *Child Board*   2.7   [ Uninstall ]
11.   Misc Anti Spam   1.0   [ Uninstall ]
12.   Optimus Brave   1.8.7   [ Uninstall ]
13.   Mentions   1.1.1   [ Uninstall ]
14.   SMFPacks Shoutbox   1.0.5   [ Uninstall ]
15.   Profile Statuses   3.1   [ Uninstall ]
16.   SMF Quiz   1.1.0   [ Uninstall ]
17.   PM to New Members   1.2   [ Uninstall ]
18.   Dream Portal   1.1   [ Uninstall ]
19.   Menu Box   1.0   [ Uninstall ]
20.   Simple Audio Video Embedder   3.0.1   [ Uninstall ]
21.   Watermark.light   1.5   [ Uninstall ]
22.   Enhanced Dropdown   1.3   [ Uninstall ]
23.   PM Attachments   1.6   [ Uninstall ]
24.   Highslide Image Viewer   1.7   [ Uninstall ]
25.   Remove Help From Menu   1.0   [ Uninstall ]
26.   Recent Forum Topics Boardindex   1.0   [ Uninstall ]
27.   Polls Can Block New Users   1.2   [ Uninstall ]
28.   Board Icons   1.0   [ Uninstall ]
29.   Reason For Editing Mod   2.3.2   [ Uninstall ]
30.   Like Posts   1.5.2   [ Uninstall ]
31.   Post Ratings   1.6   [ Uninstall ]
32.   Advanced Recent Posts   1.1.1   [ Uninstall ]
33.   Hide ip stuff for users   1.04   [ Uninstall ]
34.   Add Favicon.ico Support   1.101   [ Uninstall ]
35.   MetaTags Modification   2.0.2   [ Uninstall ]
36.   SMF Gallery Lite   3.7   [ Uninstall ]
37.   Ad Managment   3.2


Those are the mods I have installed

margarett

I thought it was this one "Profile Statuses" but it also doesn't mention a "profile_stats" function.

Can you please attach Profile.template.php?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

420SA

Thank you very much for your assistance margarett. You guys are awesome  ;D

margarett

Yeah, 1325 seems to be a "lost" line... Just remove it ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

420SA

I thought it may have been stopping other code from being implemented. Just needed to do some cleaning up after all. Once again thanks for your time its sorted now

Regards!

Advertisement: