I faced this soft rejection from ThemeForest for my WordPress Theme. Please, help me if anybody can. Its about using TGM Plugin activation php file. How can i avoid this issue??
invxtassy/inc/class-tgm-plugin-activation.php
Error:
391 ERROR Silencing errors is forbidden
Code: 391 No. Line
public function overload_textdomain_mofile( $mofile, $domain ) {
// Exit early if not our domain, not a WP_LANG_DIR load or if the file exists and is readable.
if ( ‘tgmpa’ !== $domain || false === strpos( $mofile, WP_LANG_DIR ) || @is_readable( $mofile ) ) {
return $mofile;
}