Fixes for new plugin and missing _ in $row within the helper file.

````php
if ($context == "com_categories.category" && $data->extension == "com_jevents" && $data->published != 1 || $context == "com_categories.category" && $data->extension == "com_jevents" && $data->published != 0) {

    Write
    Preview

Parsed as Markdown Edit in fullscreen

Attach images by dragging & dropping or selecting them.
// Get a db connection & new query object.
$db = JFactory::getDbo();
$query = $db->getQuery(true);
````