Fatal error: Incorrect module name
-
I’m getting a fatal error per below as reported by my hosting provider. Advice on how to correct this? Seems like an incorrect module name somehow?
——-
wp plugin status
Fatal error: Incorrect module name [config] in
/home/mysite.com/wp-content/plugins/wpadverts/includes/functions.php
on line 32
———
Line 32 in functions.php is the below “incorrect module name” error.——-
function adverts_config($param = null) {
global $adverts_config, $adverts_namespace;if(stripos($param, ‘.’) === false) {
$module = ‘config’;
} else {
list($module, $param) = explode(“.”, $param);
}if( !isset($adverts_namespace[$module]) ) {
trigger_error(‘Incorrect module name [‘.$module.’]’, E_USER_ERROR);
}
- The topic ‘Fatal error: Incorrect module name’ is closed to new replies.