$modelName = GLM_MEMBERS_WORDPRESS_PLUGIN_PATH . "$plugIn/models/admin/$menuItem/$action.php";
$className = 'GlmMembersAdmin_' . $menuItem . '_' . $action;
$loopTracking .= "<p>Loop: $loopCheck<br>Model: $modelName<br>Class: $className</p>";
+ if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG) {
+ trigger_error("Notice: Model: ".$modelName, E_USER_NOTICE);
+ }
// Create hook to add page tabs by add-on plugins
$addOnTabs = array();
// If a view file is specified
$badView = false;
if ($view) {
+ if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG) {
+ trigger_error("Notice: View: ".$view, E_USER_NOTICE);
+ }
// Get the specified view file - check theme first
$viewPath = "$theme/$plugIn/views";