Hey guys – I’m hoping you can help me. I have a theme that has been soft-rejected and is waiting for me to fix some PHP/Wordpress errors. The problem is, I don’t know how they are finding errors. I use the Developer plugin and check for depreciated calls, I use Theme Check and I use the wp_debug and log functions within Wordpress and no errors show up for me. I don’t get it.
Is there another way to error check my theme pages/scripts?
- 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
What were the errors?
The errors were:
Notice: Undefined variable: extension
Warning: Cannot use a scalar value as an array
Catchable fatal error: Object of class WP_Image_Editor_GD could not be converted to string
I’m less concerned with working each specific error as I am in how they found them outside of the methods I’ve described above.
Does the page where it should work throws any errors in browser? Probably using some IDE.
No, the site works fine, even with wp_debug turned on, no errors are thrown.
- 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
icaruscreativeorg said
No, the site works fine, even with wp_debug turned on, no errors are thrown.
A little bird told me(real story) that reviewers mix up themes sometimes, so these errors might not be from your theme.. Especially if you’re 100% sure that you you really can’t find them with all of the debugging stuff turned on..
Ah – that would be unfortunate and frustrating! Their URL’s have my theme name in them so they’d really have to have mixed things up. While I’m 100% sure that I can’t find them, I’m not 100% sure they are not there. I think there actually are legitimate error messages being thrown – I just don’t know where the reviewers are seeing it?
When I submitted the edited file, I asked that if they found errors they tell me where/what method they saw them, but they did not do that. Instead, I just got a list of errors and their location in the script.
This happened before, I fixed the errors shown, and then they sent new ones.
As far as what I know about the reviewers is they can’t be regular mortals so don’t be surprised to get “notepad” as an answer 
Seriously, they probably use some IDE.
I’m sure they are using something different – but I don’t know how they can ask me to fix the errors that I cannot see without telling me how I can see them. As well, it’s not like they came up with one final list – it keeps changing. They are all little simple stuff but I just need to know how to find them.
firebug will give you js warnings / warnings panel
