we have integrated the Q2A into our existing website and like it alot. However we are struggling with one aspect.... we have a function that includes global variables and its causing fatal error when entering the forum directly.
example:
$ultraArray = getUltraArray();
$ultraObject = getUltraObject();
function ourFunction($variable) {
global $ultraObject, $ultraArray;
...
}
When accessing the forum the $ultraObject and $ultraArray are NULL within the function even though they are set immediatly before hand.
I understand this may be a rookie mistake or oversight - but any guidance into properly configuring Q2A here is appreciated!!!