WordPress / theme-review-action

Other
30 stars 9 forks source link

Show the template that is being used on the page. #35

Closed StevenDufresne closed 3 years ago

StevenDufresne commented 3 years ago

Try including the template file when explaining the source of the error.

@carolinan Thoughts?

Related to: #34

"/?p=1241" (via: single.php) contains PHP errors: Notice: Undefined variable: bool in wp-content/themes/test-theme/functions.php on line 145
See: https://github.com/WordPress/theme-review-action/blob/trunk/docs/ui-errors.md#page-should-not-have-php-errors

"/?p=1241" (via: single.php) contains javascript errors. Found Error: TypeError: Cannot read property 'querySelectorAll' of null  at new navMenu (assets/js/primary-navigation.js?ver=1.0.1:170:47)  at assets/js/primary-navigation.js?ver=1.0.1:182:3
See: https://github.com/WordPress/theme-review-action/blob/trunk/docs/ui-errors.md#browser-console-should-not-contain-errors

"bigtime.com" found when viewing "/?p=1241" (via: single.php) is not an approved link.
See: https://github.com/WordPress/theme-review-action/blob/trunk/docs/ui-errors.md#page-should-not-have-unexpected-links

"/" (via: index.php) contains PHP errors: Notice: Undefined variable: bool in wp-content/themes/test-theme/functions.php on line 145
See: https://github.com/WordPress/theme-review-action/blob/trunk/docs/ui-errors.md#page-should-not-have-php-errors

"/" (via: index.php) contains javascript errors. Found Error: TypeError: Cannot read property 'querySelectorAll' of null  at new navMenu (assets/js/primary-navigation.js?ver=1.0.1:170:47)  at assets/js/primary-navigation.js?ver=1.0.1:182:3
See: https://github.com/WordPress/theme-review-action/blob/trunk/docs/ui-errors.md#browser-console-should-not-contain-errors

"/?cat=1" (via: archive.php) contains PHP errors: Notice: Undefined variable: bool in wp-content/themes/test-theme/functions.php on line 145
See: https://github.com/WordPress/theme-review-action/blob/trunk/docs/ui-errors.md#page-should-not-have-php-errors

"/?cat=1" (via: archive.php) contains javascript errors. Found Error: TypeError: Cannot read property 'querySelectorAll' of null  at new navMenu (assets/js/primary-navigation.js?ver=1.0.1:170:47)  at assets/js/primary-navigation.js?ver=1.0.1:182:3
See: https://github.com/WordPress/theme-review-action/blob/trunk/docs/ui-errors.md#browser-console-should-not-contain-errors

"/?tag=alignment-2" (via: archive.php) contains PHP errors: Notice: Undefined variable: bool in wp-content/themes/test-theme/functions.php on line 145
See: https://github.com/WordPress/theme-review-action/blob/trunk/docs/ui-errors.md#page-should-not-have-php-errors

"/?tag=alignment-2" (via: archive.php) contains javascript errors. Found Error: TypeError: Cannot read property 'querySelectorAll' of null  at new navMenu (assets/js/primary-navigation.js?ver=1.0.1:170:47)  at assets/js/primary-navigation.js?ver=1.0.1:182:3
See: https://github.com/WordPress/theme-review-action/blob/trunk/docs/ui-errors.md#browser-console-should-not-contain-errors

"/?post_format=gallery" (via: archive.php) contains PHP errors: Notice: Undefined variable: bool in wp-content/themes/test-theme/functions.php on line 145
See: https://github.com/WordPress/theme-review-action/blob/trunk/docs/ui-errors.md#page-should-not-have-php-errors

"/?post_format=gallery" (via: archive.php) contains javascript errors. Found Error: TypeError: Cannot read property 'querySelectorAll' of null  at new navMenu (assets/js/primary-navigation.js?ver=1.0.1:170:47)  at assets/js/primary-navigation.js?ver=1.0.1:182:3
See: https://github.com/WordPress/theme-review-action/blob/trunk/docs/ui-errors.md#browser-console-should-not-contain-errors
carolinan commented 3 years ago

Yes this is an improvement that will help with troubleshooting.