My new theme got soft rejected, and the reason was:
Enable WP_DEBUG and fix: Notice: Undefined index: page in /Applications/MAMP/htdocs/wordpress/wp-content/themes/focus/framework/admin/theme.php on line 6
Here is line 6:
if ( $_GET['page'] == basename(__FILE__) ) {
I got the code from the NetTuts tutorial here (theme.php file) and don’t really know how to fix it:
http://net.tutsplus.com/tutorials/wordpress/how-to-create-a-better-wordpress-options-panel/
Does anybody have any idea what this means and how I can fix it? Any help would be appreciated.
Hey I think you should Try this..!
if ( isset( $_GET['page'] ) AND $_GET['page'] == basename(__FILE__) ) {
CodeHunk said
Hey I think you should Try this..!if ( isset( $_GET['page'] ) AND $_GET['page'] == basename(__FILE__) ) {
Exactly what I was going to suggest.
Thanks guys, that did it 
- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 1 and 9 items
- Europe
- Exclusive Author
- Has been a member for 2-3 years
- Item was Featured
- Referred between 100 and 199 users
Are you serious? This us a reason for rejection? OMG . And low quality utems get it. Interesting. It seems that some reviewers are doing their job and some don’t care at all.
- Envato Staff
- Reviewer
- Community Moderator
- Venezuela
- Has been a member for 4-5 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Microlancer Beta Tester
- Sold between 10 000 and 50 000 dollars
- Exclusive Author
duotive said
Are you serious? This us a reason for rejection? OMG . And low quality utems get it. Interesting. It seems that some reviewers are doing their job and some don’t care at all.
Why you think this should not be a reason for rejection? I’d like to hear your opinion.
We have not approved such “low quality themes” — like you said. I’m sorry Duotive but I think that is disrespectful to your fellow authors and to us, Chan Kai Loon and I.
I think the reviewers do an amazing job!
Yes, I also think the reviewers are doing a great job as well. And I see nothing but high quality items, so I don’t why all the bad mouthing of other items has been going on lately, maybe some people are on too much of a high horse.
I also think the reviewers are doing very well, the items that are released are very professional, good job guys.
PixelStores said
the items that are released are very professional
L.O.L 
I can send you many of un-professional themes, but then this post get hidden
@Ivor: “I’m sorry Duotive but I think that is disrespectful to your fellow authors and to us, Chan Kai Loon and I.”
Why do you take is so personal ? He said too It seems that some reviewers are doing their job. 
I have seen many items i have personaly purchased and a lot of them havent stuff included in “Themeforest Files Included”. So I dont know what is more important if is missing Documentatation or Code which can be seen only via WP_DEBUG . But I have rather stopped reporting these items due to slow response from Support and contact autors directly to fix their items! So please think twice
