Pandy06269 Reply #1, 3 years, 9 months ago
I've just installed MODx 0.9.6.2-rc2, and got this error:
Fatal error: Call to undefined method DocumentParser::mapPath() in /srv/www/htdocs/sanctree/manager/includes/document.parser.class.inc.php(769) : eval()'d code on line 20
Has mapPath() disappeared from the API? I've used it in practically every snippet, module and plugin I've ever written.
It worked in 0.9.6.2-rc1. IMHO you shouldn't remove such a vital function in an API within -rc releases - it's going to be a major task for me to change this particular bit of code, having spent the last 3 months building on 0.9.6.2-rc1.
Is there an alternative way of finding the MODx path without hard-coding, or reading the config file in every snippet etc?
Fatal error: Call to undefined method DocumentParser::mapPath() in /srv/www/htdocs/sanctree/manager/includes/document.parser.class.inc.php(769) : eval()'d code on line 20
Has mapPath() disappeared from the API? I've used it in practically every snippet, module and plugin I've ever written.
It worked in 0.9.6.2-rc1. IMHO you shouldn't remove such a vital function in an API within -rc releases - it's going to be a major task for me to change this particular bit of code, having spent the last 3 months building on 0.9.6.2-rc1.
Is there an alternative way of finding the MODx path without hard-coding, or reading the config file in every snippet etc?