I’m working on a PHP class to execute some database queries in support of
another class that will be used by an extension. But I’m getting the
following error message:
Fatal error: Call to undefined function wfGetDB()
when I try to call a method in my class from a test script. Any ideas as to
how to resolve this?