nabo Posted January 23, 2019 Posted January 23, 2019 Hello I attached a screenshot of the problem I see in any user edit page
louisstephens Posted January 23, 2019 Posted January 23, 2019 If you look in that specific file, do you see the following: /** * ProcessWire namespace aware version of PHP's class_parents() function * * Returns associative array where array keys are full namespaced class name, and * values are the non-namespaced classname. * * @param string|object $className * @param bool $autoload * @return array * */ function wireClassParents($className, $autoload = true) { if(is_object($className)) { $parents = class_parents($className, $autoload); } else { $className = wireClassName($className, true); if(!class_exists($className, false)) { $_className = wireClassName($className, false); if(class_exists("\\$_className")) $className = $_className; } $parents = class_parents(ltrim($className, "\\"), $autoload); } $a = array(); if(is_array($parents)) foreach($parents as $k => $v) { $v = wireClassName($k, false); $a[$k] = $v; // values have no namespace } return $a; }
nabo Posted February 16, 2019 Author Posted February 16, 2019 Thanks... I see. But I can't understand why this warning
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now