SMF Support > SMF 2.0.x Support

"Call to undefined function: create_button()" error

(1/5) > >>

median:
I created a locked, sticky, topic on my forum for the forum rules, but when I did it generated this error:

Fatal error: Call to undefined function create_buttons() in /home/rockba5/public_html/innatedebate.com/Sources/Load.php(2247) : eval()'d code on line 460

How can I fix this? I am running SMF 2.0.2. So I don't see how there could be a compatibility issue. Here is the link to the error:


http://www.innatedebate.com/index.php?topic=4.0

Chas Large:
Do you have Evaluation of Templates disabled?

Admin > Configuration > Server Settings > General.

If not then I would suggest you check the box to disable them.


--- Quote from: From the Help Button ---By default, templates are evaluated instead of just included. This helps with showing more useful debug information in case a template contains an error.

On large forums however, this customised inclusion process may be significantly slower. Therefore, advanced users may wish to disable it.
--- End quote ---

Otherwise, the problem may have been caused by the recent installation of a Modification, I'm assuming this has not happened before?

median:
Yes, I have checked that box to disable evaluation but the problem still persists. I have not had this problem before. Also, for some reason I cannot access the theme creator's forum. It says I am banned, but that doesn't make sense because I haven't posted there.

SA™:
yes the problem will still be there but checking Evaluation of Templates will show the real error


--- Code: ---Fatal error: Call to undefined function create_buttons() in /home/rockba5/public_html/innatedebate.com/Sources/Load.php(2247) : eval()'d code on line 460
--- End code ---

all that tells us now is that there is an undefined function  with Evaluation of Templates disabled it will show the error comes from

Chas Large:

--- Quote from: median on August 11, 2012, 09:26:00 PM ---Yes, I have checked that box to disable evaluation but the problem still persists. I have not had this problem before. Also, for some reason I cannot access the theme creator's forum. It says I am banned, but that doesn't make sense because I haven't posted there.

--- End quote ---
You may not be but your IP might be, as it's most likely a dynamic one. Reboot your router and your ISP will give you a new IP dynamically so you could try the forum again.

Having said that, by referring to "the theme creator's forum" implies you're not using the default curve theme. Can you switch to that and then try creating a locked stickie (do it in your private Admin area if you have one) so you can check to see if the error occurs again. If it does, then it's not a Theme issue but most likely a Mod clash. If not, then again, try contacting the Theme creator.

Navigation

[0] Message Index

[#] Next page

Go to full version