Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 41

Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 170

Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Input/Input.php on line 31

Deprecated: Joomla\CMS\Input\Cookie implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Input/Cookie.php on line 21

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Uri/Uri.php on line 141
Not possible to delete user - Page 3 - Macrotone Forum

Unknown Error 8192: KunenaControllerApplicationDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in libraries/kunena/controller/application/display.php on line 21


Unknown Error 8192: ComponentKunenaControllerWidgetAnnouncementDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/widget/announcement/display.php on line 18


Unknown Error 8192: ComponentKunenaControllerTopicItemDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/display.php on line 25


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/forum/category/category.php on line 415


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/route/route.php on line 437


Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Date/Date.php on line 112

Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/bbcode/bbcode.php on line 107

Not possible to delete user


Unknown Error 8192: ComponentKunenaControllerTopicItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/actions/display.php on line 23


Unknown Error 8192: ComponentKunenaControllerTopicPollDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/poll/display.php on line 21


Unknown Error 8192: ComponentKunenaControllerTopicItemMessageDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/message/display.php on line 23

7 years 9 months ago #13 by SniperPike

Unknown Error 8192: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2263

Tried it out, but gave me a blank screen, and didnt delete the user.

I might have inserted the code wrong, but I looked at the code, and inserted in the lines you mentioned.

A fresh install, loaded demo-content, tried to delete a user. Got a blank screen and had to reload page to see the list again. But the user wasnt deleted.

I've pasted the entire file below, maybe you can help me check, if I've inserted the code correctly?
<?php
/*
 *
 * @Version       $Id: itpeople.php 2167 2016-01-01 16:41:39Z geoffc $
 * @Package       Joomla Issue Tracker
 * @Subpackage    com_issuetracker
 * @Release       1.6.5
 * @Copyright     Copyright (C) 2011-2016 Macrotone Consulting Ltd. All rights reserved.
 * @License       GNU General Public License version 3 or later; see LICENSE.txt
 * @Contact       support@macrotoneconsulting.co.uk
 * @Lastrevision  $Date: 2016-01-01 16:41:39 +0000 (Fri, 01 Jan 2016) $
 */

// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

if (! class_exists('IssueTrackerHelper')) {
    require_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_issuetracker'.DS.'helpers'.DS.'issuetracker.php');
}
JLoader::import('joomla.application.component.modeladmin');

/**
 * Issue Tracker Model
 *
 * @package       Joomla.Components
 * @subpackage    Issue Tracker
 */
class IssueTrackerModelItpeople extends JModelAdmin
{
   /**
    * @var     string   The prefix to use with controller messages.
    * @since   1.6
    */
   protected $text_prefix = 'COM_ISSUETRACKER';

    /**
     * Returns a reference to the a Table object, always creating it.
     *
     * @param string $type The type
     * @param string $prefix A prefix for the table class name. Optional.
     * @param array $config Configuration array for model. Optional.
     * @internal param $type The table type to instantiate
     * @return  JTable   A database object
     * @since   1.6
     */
   public function getTable($type = 'Itpeople', $prefix = 'IssueTrackerTable', $config = array())
   {
      return JTable::getInstance($type, $prefix, $config);
   }

   /**
    * Method to get the record form.
    *
    * @param   array $data    An optional array of data for the form to interogate.
    * @param   boolean  $loadData   True if the form is to load its own data (default case), false if not.
    * @return  JForm A JForm object on success, false on failure
    * @since   1.6
    */
   public function getForm($data = array(), $loadData = true)
   {
      // Initialise variables.
      // $app  = JFactory::getApplication();

      // Get the form.
      $form = $this->loadForm('com_issuetracker.itpeople', 'itpeople', array('control' => 'jform', 'load_data' => $loadData));
      if (empty($form)) {
         return false;
      }

      return $form;
   }

   /**
    * Method to get the data that should be injected in the form.
    *
    * @return  mixed The data for the form.
    * @since   1.6
    */
   protected function loadFormData()
   {
      // Check the session for previously entered form data.
      $data = JFactory::getApplication()->getUserState('com_issuetracker.edit.itpeople.data', array());

      if (empty($data)) {
         $data = $this->getItem();
      }

      return $data;
   }

   /**
    * Method to get a single record.
    *
    * @param   integer  $pk The id of the primary key.
    *
    * @return  mixed Object on success, false on failure.
    * @since   1.6
    */
   public function getItem($pk = null)
   {
      if ($item = parent::getItem($pk)) {

         //Do any procesing on fields here if needed

      }

      return $item;
   }

   /**
    * Prepare and sanitise the table prior to saving.
    *
    * @since   1.6
    * @param JTable $table
    */
   protected function prepareTable($table)
   {
      JLoader::import('joomla.filter.output');

      if (empty($table->id)) {

         // Set ordering to the last item if not set
         if (@$table->ordering === '') {
            $db = JFactory::getDbo();
            $db->setQuery('SELECT MAX(ordering) FROM #__it_people');
            $max = $db->loadResult();
            $table->ordering = $max+1;
         }

      }
   }

   /**
    * Method to test whether a record can be deleted.
    *
    * @param   object   $record  A record object.
    *
    * @return  boolean  True if allowed to delete the record. Defaults to the permission set in the component.
    * @since   1.6
    */
   protected function canDelete($record)
   {
      if (!empty($record->id)) {
         if ($record->state != -2) {
            return true;
         }
         $user = JFactory::getUser();
         return $user->authorise('core.delete', 'com_issuetracker.people.'.(int) $record->id);
      }
      return false;
   }

  /**
    * Method to save the form data.
    *
    * @param   array $data The form data.
    *
    * @return  boolean  True on success.
    * @since   1.6
    */
   public function save($data)
   {
      // Set up access to default parameters
      $this->_params = JComponentHelper::getParams( 'com_issuetracker' );

      // Get default settings
      $def_project   = $this->_params->get('def_project', 1);
      // $def_published = $this->_params->get('def_published', 0);

      // Ensure FK relationship is set
      // If assigned_project is empty set it to default project.  Also enforced in DB.
      //     if "CEO" || "Manager"
      if ( $data['person_role'] == "1" || $data['person_role'] == "4" ) {
         $data['assigned_project'] = NULL;
      } else {
         // Get default from parameters if not specified.
         if (empty($data['assigned_project']) || $data['assigned_project'] == 0)
         {
            $data['assigned_project'] = $def_project;
         }
      }

      if (parent::save($data)) {
         // Force database change for role change to CEO or Manager.
         if ( $data['person_role'] == "1" || $data['person_role'] == "4" ) {
            $query = "UPDATE `#__it_people` SET assigned_project = NULL WHERE id = ".$data['id'];
            $this->_db->setQuery( $query );
            $this->_db->execute();
         }
         return true;
      }

      return false;
   }

   /**
    * Method to store record(s)
    *
    * @access  public
    * @return  boolean  True on success
    */
   public function store()
   {
      // This is not being used as it uses teh save routine above.
      // Set up access to default parameters
      $this->_params = JComponentHelper::getParams( 'com_issuetracker' );

      // Get default settings
      $def_project   = $this->_params->get('def_project', 1);

      $row =& $this->getTable('itpeople','IssueTrackerTable');

      $data = JFactory::getApplication()->input->get('post');
      // HTML content must be required!
      $data['id'] = JFactory::getApplication()->input->get('id', '', 'post', 'double');
      $data['assigned_project'] = JFactory::getApplication()->input->get('assigned_project', '', 'post', 'double');

      // Ensure FK relationship is set
      // If assigned_project is empty set it to default project.  Also enforced in DB.
      //     if ( $data['person_role'] == "CEO" || $data['person_role'] == "Manager" ) {
      if ( $data['person_role'] == "1" || $data['person_role'] == "4" ) {
         $data['assigned_project'] = NULL;
      } else {
         // Get default from parameters if not specified.
         if (empty($data['assigned_project']) || $data['assigned_project'] == 0)
         {
            $data['assigned_project'] = $def_project;
         }
      }

      // Audit data set in the table definition.

      // Bind the form fields to the table
      if (!$row->bind($data)) {
         $this->setError($this->_db->getErrorMsg());
         return false;
      }

      // Make sure the record is valid
      if (!$row->check()) {
         $this->setError($this->_db->getErrorMsg());
         return false;
      }

      // Store the web link table to the database
      if (!$row->store()) {
         $this->setError( $row->getError() );
         return false;
      }
      return true;
   }

   /**
    * Method to delete one or more records.
    *
    * @param   array  &$pks  An array of record primary keys.
    *
    * @return  boolean  True if successful, false if an error occurs.
    *
    * @since   11.1
    */
   public function delete(&$pks)
   {
      // $cids = JRequest::getVar( 'cid', array(0), 'post', 'array' );
      $pks = (array) $pks;

      $row =& $this->getTable();

      // Soft or hard delete?
      // Get parameters setting and default user if soft deleting.
      // Set reference to parameters
      $this->_params = JComponentHelper::getParams( 'com_issuetracker' );
      $app =& JFactory::getApplication();
      $delmode = $this->_params->get('delete', 0);
      $def_assignee = $this->_params->get('def_assignee', 0);

      if ($delmode == 0 ) {
         // Delete mode disabled.  Should give a message as well.
         $app->enqueueMessage(JText::_('COM_ISSUETRACKER_DELETE_MODE_DISABLED_MSG'));
         return false;
/*
      } else if ( $delmode == 1 ) {
         // Give a warning about deleting associated issues.
         // $message = preg_replace("/\r?\n/", "\\n", JText::_('COM_ISSUETRACKER_DELETE_WARNING'));

         if (count( $pks )) {
            // Need to check that we are not deleting the default user!
            $msg="";

            // Iterate the items to delete each one.
            foreach ($pks as $i => $pk) {
               if (!$row->delete( $pk )) {
                  $this->setError( $row->getError() );
                  return false;
               }
            }

            if ( $msg != "" ) {
               $app->enqueueMessage($msg);
            }
            $app->enqueueMessage(JText::_('COM_ISSUETRACKER_PEOPLE_ISSUES_DELETED_MSG'));
         }
         return true;
*/
      } else if ( $delmode == 2 || $delmode == 1 ) {
         // update rows to be userid.
         $deluser = $this->_params->get('deleteUser', 0);
         if ($deluser == 0 ) {
            $app->enqueueMessage(JText::_('COM_ISSUETRACKER_DELETE_MODE_REASSIGNMENT_USER_NOT SPECIFIED_MSG'));
            return false;
         } else {
            // Need to check that we are not deleting the default user!
            $msg="";

            if (count( $pks )) {
               if ( $pks == $def_assignee ) {
                  $msg = JText::_('COM_ISSUETRACKER_ERROR_DELETE_DEFAULT_USER_MSG');
               } else {
                  // Update associated issues
                  // Also add check for default assignee on project table!
                  // Two updates peformed to avoid changing both fields at once when only one should be changed!
                  // Build query strings first
                  $query   = 'UPDATE `#__it_issues` SET assigned_to_person_id = '.$def_assignee;
                  $query  .= ' WHERE assigned_to_person_id in (';
                  
                  $query1  = 'UPDATE `#__it_issues` SET identified_by_person_id = '.$deluser;
                  $query1 .= ' WHERE identified_by_person_id in (';

                  foreach($pks as $pk) {
                     // Assigneee is a user_id so convert from the id given.
                     $pkuid = IssueTrackerHelper::get_ituser_id($pk)
                     $query  .= $pkuid . ',';
                     
                     $query1 .= $pk . ',';
                  }

                  $query  = substr($query,  0, -1) . ')' ;
                  $query1 = substr($query1, 0, -1) . ')' ;
                  
                  // Now Update any assigned issues
                  $this->_db->setQuery( $query );
                  // print("Query: $query<p>");

                  $res = $this->_db->execute();
                  if ($res) {
                     $affectedRows = $this->_db->getAffectedRows($res);
                     $app->enqueueMessage(JText::sprintf('COM_ISSUETRACKER_DELETE_MODE_ROWS_REASSIGNED_MSG', $affectedRows));
                     // echo $affectedRows.' Rows Affected';
                  } else {
                     $app->enqueueMessage(JText::_('COM_ISSUETRACKER_DELETE_MODE_REASSIGNED_MSG'));
                  }
                  
                  // Now Update any identified issues
                  $this->_db->setQuery( $query1 );
                  // print("Query: $query1<p>");

                  $res = $this->_db->execute();
                  if ($res) {
                     $affectedRows = $this->_db->getAffectedRows($res);
                     $app->enqueueMessage(JText::sprintf('COM_ISSUETRACKER_DELETE_MODE_ROWS_REASSIGNED_MSG', $affectedRows));
                     // echo $affectedRows.' Rows Affected';
                  } else {
                     $app->enqueueMessage(JText::_('COM_ISSUETRACKER_DELETE_MODE_REASSIGNED_MSG'));
                  }
                 
                  // Now delete the users themselves
                  // Iterate the items to delete each one.
                  foreach ($pks as $pk) {
                     if (!$row->delete( $pk )) {
                        $this->setError( $row->getError() );
                        return false;
                     }
                  }
               }
            }

            if ( $msg != "" ) {
               $app->enqueueMessage($msg);
            }
            return true;
         }
      } else {
         // Unknown mode Give message.
         $app->enqueueMessage(JText::_('COM_ISSUETRACKER_DELETE_MODE_UNKNOWN_MSG'),'error');
         return false;
      }
   }

   /**
    * @param $pks
    * @param int $value
    * @return bool
    */
   function administration(&$pks, $value = 1)
   {
      // Initialise variables.
      // $dispatcher = JDispatcher::getInstance();
      $user       = JFactory::getUser();
      $table      = $this->getTable('itpeople');
      $pks        = (array) $pks;

      // Include the content plugins for the change of state event.
      JPluginHelper::importPlugin('content');

      // Access checks.
      foreach ($pks as $i => $pk) {
         if ($table->load($pk)) {
            if (!$this->canEditState($table)) {
               // Prune items that you can't change.
               unset($pks[$i]);
               JError::raiseWarning(403, JText::_('JLIB_APPLICATION_ERROR_EDIT_STATE_NOT_PERMITTED'));
            }
         }
      }

      // Attempt to change the state of the records.
      if (!$table->toggle($pks, $value, $user->get('id'),'admin')) {
         $this->setError($table->getError());
         return false;
      }

      // $context = $this->option.'.'.$this->name;

      // Trigger the onContentChangeState event.
      /* $result = $dispatcher->trigger($this->event_change_state, array($context, $pks, $value));
      if (in_array(false, $result, true)) {
         $this->setError($table->getError());
         return false;
      } */

      return true;
   }


   /**
    * @param $pks
    * @param int $value
    * @return bool
    */
   function notify(&$pks, $value = 1)
   {
      // Initialise variables.
      // $dispatcher = JDispatcher::getInstance();
      $user       = JFactory::getUser();
      $table      = $this->getTable('itpeople');
      $pks        = (array) $pks;

      // Include the content plugins for the change of state event.
      JPluginHelper::importPlugin('content');

      // Access checks.
      foreach ($pks as $i => $pk) {
         if ($table->load($pk)) {
            if (!$this->canEditState($table)) {
               // Prune items that you can't change.
               unset($pks[$i]);
               JError::raiseWarning(403, JText::_('JLIB_APPLICATION_ERROR_EDIT_STATE_NOT_PERMITTED'));
            }
         }
      }

      // Attempt to change the state of the records.
      if (!$table->toggle($pks, $value, $user->get('id'),'notify')) {
         $this->setError($table->getError());
         return false;
      }

      // $context = $this->option.'.'.$this->name;

      // Trigger the onContentChangeState event.
      /* $result = $dispatcher->trigger($this->event_change_state, array($context, $pks, $value));
      if (in_array(false, $result, true)) {
         $this->setError($table->getError());
         return false;
      } */

      return true;
   }

   /**
    * @param $pks
    * @param int $value
    * @return bool
    */
   function staff(&$pks, $value = 1)
   {
      // Initialise variables.
      // $dispatcher = JDispatcher::getInstance();
      $user       = JFactory::getUser();
      $table      = $this->getTable('itpeople');
      $pks        = (array) $pks;

      // Include the content plugins for the change of state event.
      JPluginHelper::importPlugin('content');

      // Access checks.
      foreach ($pks as $i => $pk) {
         if ($table->load($pk)) {
            if (!$this->canEditState($table)) {
               // Prune items that you can't change.
               unset($pks[$i]);
               JError::raiseWarning(403, JText::_('JLIB_APPLICATION_ERROR_EDIT_STATE_NOT_PERMITTED'));
            }
         }
      }

      // Attempt to change the state of the records.
      if (!$table->toggle($pks, $value, $user->get('id'),'staff')) {
         $this->setError($table->getError());
         return false;
      }

      // $context = $this->option.'.'.$this->name;

      // Trigger the onContentChangeState event.
      /* $result = $dispatcher->trigger($this->event_change_state, array($context, $pks, $value));
      if (in_array(false, $result, true)) {
         $this->setError($table->getError());
         return false;
      } */

      return true;
   }

   /**
    * @param $pks
    * @param int $value
    * @return bool
    */
   function smsnotify(&$pks, $value = 1)
   {
      // Initialise variables.
      // $dispatcher = JDispatcher::getInstance();
      $user       = JFactory::getUser();
      $table      = $this->getTable('itpeople');
      $pks        = (array) $pks;

      // Include the content plugins for the change of state event.
      JPluginHelper::importPlugin('content');

      // Access checks.
      foreach ($pks as $i => $pk) {
         if ($table->load($pk)) {
            if (!$this->canEditState($table)) {
               // Prune items that you can't change.
               unset($pks[$i]);
               JError::raiseWarning(403, JText::_('JLIB_APPLICATION_ERROR_EDIT_STATE_NOT_PERMITTED'));
            }
         }
      }

      // Attempt to change the state of the records.
      if (!$table->toggle($pks, $value, $user->get('id'),'smsnotify')) {
         $this->setError($table->getError());
         return false;
      }

      // $context = $this->option.'.'.$this->name;

      // Trigger the onContentChangeState event.
      /* $result = $dispatcher->trigger($this->event_change_state, array($context, $pks, $value));
      if (in_array(false, $result, true)) {
         $this->setError($table->getError());
         return false;
      } */

      return true;
   }

}

Sincerely,
Martin

Unknown Error 8192: ComponentKunenaControllerMessageItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/message/item/actions/display.php on line 25

Please Log in or Create an account to join the conversation.


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2115


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2115


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2022


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2070


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2115


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2022


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2022


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2115


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2115


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2022


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2070


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2115


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2115


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2022


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2070

7 years 9 months ago #14 by chrisc
Replied by chrisc on topic Not possible to delete user
I tested out the code,,just to be sure, just before I posted it, so am puzzled as to why you get a blank screen, I suspect that the pasting might be wrong but I can't see it being visually wrong. I will run a test with the code you pasted. I will get back to you on this. You might try setting the Joomla global reporting to maximum and it may give an informative error message. No guarantees though.

Re the deletion of the issues, the actual issues are 're-assigned' when the user is deleted. So for example any user who is 'assigned' to work an issue, who is deleted will have the issues assigned changed to who ever is defined as the 'default assignee'. Similarly and users who identified (raised) an issue, when deleted would have their issues 're-identified' by who every is defined as the default identifier in the configuration.

Regards

If you are using our extensions please leave a review at the JED: IP Mapping | Issue Tracker | JAudit | Password Control

Please Log in or Create an account to join the conversation.

7 years 9 months ago #15 by chrisc
Replied by chrisc on topic Not possible to delete user

Unknown Error 8192: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2263

Oops! Found it. There is a missing semi colon at the end of line 331.

The line should read:
$pkuid = IssueTrackerHelper::get_ituser_id($pk);

Not sure how that got lost. I can only assume it was when I did a cut and paste. Sorry.

Regards

If you are using our extensions please leave a review at the JED: IP Mapping | Issue Tracker | JAudit | Password Control

Please Log in or Create an account to join the conversation.

7 years 9 months ago #16 by SniperPike
That did the trick :D

I had some problems with the demo content. I could delete the users, but not the staff, when they where assigned a project. Even if I deleted all the project, I still couldnt remove the staff. And removing the demo content, didnt remove the users.

So I did a clean install. And when I clicked on "people" (Backend, after new install) all my Joomla users where imported.
I selected them all, and deleted them with no problem (After enable hard mode delete in settings).

Maybe I'll face some problems eventually, but for now it looks like I can start using it (After some designing and stuff).

Thx for your help.
The following user(s) said Thank You: chrisc

Please Log in or Create an account to join the conversation.

7 years 9 months ago #17 by chrisc
Replied by chrisc on topic Not possible to delete user
Might have been a cache type problem, but as long as its fine now is the main thing.

Thank you for keeping us informed.

Regards

If you are using our extensions please leave a review at the JED: IP Mapping | Issue Tracker | JAudit | Password Control

Please Log in or Create an account to join the conversation.

Time to create page: 0.162 seconds
Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries