EADTU - European Association of Distance Teaching Universities

Error

An error has occurred with a eval'd field - please inform the web-site owner.
    Debug: Eval exception : category::getPhpOptions() : $options = array(); $published = 1; // Let's get the id for the current item, either category or content item. $jinput = JFactory::getApplication()->input; // Load the category options for a given extension. $extension = 'com_content'; // Category id's to NOT include in the list $ignore = array(); // Category id's to include in the list $include = array(34, 35, 36, 37, 38, 39, 49); $db = JFactory::getDbo(); $query = $db->getQuery(true) ->select('a.id AS value, a.title AS text, a.level, a.published') ->from('#__categories AS a') ->join('LEFT', $db->quoteName('#__categories') . ' AS b ON a.lft > b.lft AND a.rgt where('a.id NOT IN (' . implode(',', $ignore) . ')'); } if (!empty($include)) { $query->where('a.id IN(' . implode(',', $include) . ')'); } // Filter by the extension type $query->where('(a.extension = ' . $db->quote($extension) . ')'); // Filter on the published state if (is_numeric($published)) { $query->where('a.published = ' . (int) $published); } $query->group('a.id, a.title, a.level, a.lft, a.rgt, a.extension, a.parent_id, a.published') ->order('a.lft ASC'); // Get the options. $db->setQuery($query); try { $options = $db->loadObjectList(); } catch (RuntimeException $e) { JError::raiseWarning(500, $e->getMessage); } // Pad the option text with spaces using depth level as a multiplier. for ($i = 0, $n = count($options); $i published == 1) { $options[$i]->text = str_repeat('- ', $options[$i]->level) . $options[$i]->text; } else { $options[$i]->text = str_repeat('- ', $options[$i]->level) . '[' . $options[$i]->text . ']'; } } return $options; : array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead