Joomdle 1.0 Installation

warning error in joomdle grouprole component

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
7 years 9 months ago #1 by saman سامان
warning error in joomdle grouprole component was created by saman سامان
hi.
i install group role component and when i want create new, return this warning:
Warning: Declaration of GrouprolesModelitem::prepareTable(&$table) should be compatible with Joomla\CMS\MVC\Model\AdminModel::prepareTable($table) in /home/**************/domains/****************/public_html/administrator/components/com_grouproles/models/item.php on line 17
what is the solution and is it problem?

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

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
7 years 9 months ago #2 by saman سامان
Replied by saman سامان on topic warning error in joomdle grouprole component
and also when create group role and then you want to delete that , then return this error:
Invalid controller: name='mappings', format=''

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

More
7 years 9 months ago #3 by Antonio Durán
Replied by Antonio Durán on topic warning error in joomdle grouprole component
Thanks for the bug report.

To fix warning, edit file: administrator/components/com_grouproles/models/item.php
In function definition: prepareTable
Change:
Code:
protected function prepareTable(&$table)
By:
Code:
protected function prepareTable($table)

To fix delete error, edit file: administrator/components/com_grouproles/views/items/view.html.php
Function: addToolbar
Change:
Code:
JToolBarHelper::deleteList('', 'mappings.delete','JTOOLBAR_DELETE');
By:
Code:
JToolBarHelper::deleteList('', 'items.delete','JTOOLBAR_DELETE');

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