Error message for function AAM_Backend_Manager::theTitle()
-
I get this error inside backend inside edit module of a custom type created by Pods plugin before displaing a custom field :
Warning: Missing argument 2 for AAM_Backend_Manager::theTitle() in *****\wp-content\plugins\advanced-access-manager\Application\Backend\Manager.php on line 137I resolved editing inside that line, the function theTitle definition from:
public function theTitle($title, $id) { if (empty($title)) { $title = '[No Title]: ID ' . $id; } return $title; }
into this:
public function theTitle($title, $id=null) { if (empty($title)) { $title = '[No Title]: ID ' . $id; } return $title; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Error message for function AAM_Backend_Manager::theTitle()’ is closed to new replies.