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
- Most Wanted Bounty Winner
- 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
You should always write code with wp_debug enabled and fix absolutely all the errors which it throws..
RubenBristian said
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?
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.
- Most Wanted Bounty Winner
- 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
EngineThemes said
RubenBristian saidWhat is the best way to remove it?
You should always write code with wp_debug enabled and fix absolutely all the errors which it throws..
What’s the error? 
just
Notice: Undefined index: url
- Most Wanted Bounty Winner
- 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
Well see where’s that undefined index, and wrap it inside an “isset”
this good notice for me, thank you 
