This topic was marked solved by Arantor, on February 20th, 2013, 12:05 AM

MultiformeIngegno

  • Posts: 1,337
Undefined index, Subs.php
« on March 23rd, 2012, 04:49 PM »
Notice: Undefined index: in /Sources/Subs.php on line 1890

Got this error in the page to merge topics (didn't mean to merge something, I was just looking things around). :)

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Undefined index, Subs.php
« Reply #1, on March 23rd, 2012, 05:12 PM »
Thanks! Was an error of mine...
create_button() is bound to disappear at some point anyway. It's an old, barely used function.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Undefined index, Subs.php
« Reply #2, on April 6th, 2012, 03:33 AM »
Should we actually get on and remove create_button? It's only used in a handful of templates now and transferring everything to really call template_create_button would be better (especially if we take the time to clean up the structure and move them into $context, built in the relevant source, so that they can be cleanly extended by hooks)
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Undefined index, Subs.php
« Reply #4, on February 20th, 2013, 12:05 AM »
No longer an issue, though create_button has been mutated today, heh.