ThemeForest

Soft Disable because of Notices in PHP

21 posts
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
  • Europe
EngineThemes says

Hi all,

one of our theme got soft disable because of a Notices errors from PHP (when wp_debug is enable).. are these errors need to be fixed in order for a WordPress theme to be approve? these error only appears when you enable wp_debug but it works fine if it’s disable..

please advice..

thanks

2504 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

You should always write code with wp_debug enabled and fix absolutely all the errors which it throws..

21 posts
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
  • Europe
EngineThemes says

You should always write code with wp_debug enabled and fix absolutely all the errors which it throws..

What is the best way to remove it?

805 posts Don't Worry, Be Happy
  • Elite Author
  • Romania
  • Sold between 100 000 and 250 000 dollars
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
  • Most Wanted Bounty Winner
  • Exclusive Author
  • Bought between 10 and 49 items
FinalDestiny says

Remove what? The errors? If you coded the themes, you should know how to find out what causes them and how to fix them, lol.

2504 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


You should always write code with wp_debug enabled and fix absolutely all the errors which it throws..
What is the best way to remove it?

What’s the error? :D

21 posts
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
  • Europe
EngineThemes says

just

Notice: Undefined index: url

2504 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

Well see where’s that undefined index, and wrap it inside an “isset”

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

this good notice for me, thank you :)

by
by
by
by
by