ThemeForest

functions.php worm

240 posts
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Referred between 50 and 99 users
  • Bought between 1 and 9 items
behzadg says

hi, i active theme Twenty Twelve (debug is true) , and i see these notices :
Is this a normal notices ?
Are all themes have these notices ?


16 posts
  • Exclusive Author
  • Has been a member for 0-1 years
  • Indonesia
  • Microlancer Beta Tester
DavidGuns says

this normal if set wp debug to false. Just declaring variable to fix it

159 posts
  • Europe
  • Has been a member for 0-1 years
  • Sold between 5 000 and 10 000 dollars
  • Exclusive Author
themebros says

Twenty Twelve does not have any code errors like that. Quite sure those errors are coming from the plugins you use.

762 posts
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Serbia
  • Has been a member for 4-5 years
rvision_ says

Twenty Twelve does not have any code errors like that. Quite sure those errors are coming from the plugins you use.

Actually all errors are in functions.php which is a part of Twenty Twelve.

2494 posts Nice Guy
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
  • Referred between 200 and 499 users
+5 more
RubenBristian says

Twenty Twelve does not have any code errors like that. Quite sure those errors are coming from the plugins you use.

It depends on how good is your php debugger :D

384 posts
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Won a Competition
  • Referred between 500 and 999 users
  • Author had a Free File of the Month
  • Author had a File in an Envato Bundle
  • Bought between 10 and 49 items
+3 more
pixelentity says

actually, 2012 functions.php has only 450 lines

142 posts
  • Sold between 50 000 and 100 000 dollars
  • Has been a member for 1-2 years
  • Exclusive Author
  • Romania
  • Microlancer Beta Tester
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Referred between 10 and 49 users
icypixels says

There is no way there is code as ugly as the one posted here in the normal Twenty Twelve.

240 posts
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Referred between 50 and 99 users
  • Bought between 1 and 9 items
behzadg says

actually, 2012 functions.php has only 450 lines

yes, i checked before active theme = lines are 450 … but when i active theme , lines are 700 in functions.php , This errors (‘notices’) occurs when the wp_debug is true

240 posts
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Referred between 50 and 99 users
  • Bought between 1 and 9 items
behzadg says

:) Of course , i knocked for example (Twenty Twelve) , i every themes tested have these problem :nerdy:

by
by
by
by
by