Welcome, Guest
Joomdle 1.0 Installation

TOPIC: warning error in joomdle grouprole component

warning error in joomdle grouprole component 1 week 3 hours ago #1

  • saman
  • saman's Avatar
  • Offline
  • تماس با من : samansamani2[at]yahoo.com
  • Karma: 1
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?
The administrator has disabled public write access.

warning error in joomdle grouprole component 1 week 2 hours ago #2

  • saman
  • saman's Avatar
  • Offline
  • تماس با من : samansamani2[at]yahoo.com
  • Karma: 1
and also when create group role and then you want to delete that , then return this error:
Invalid controller: name='mappings', format=''
The administrator has disabled public write access.

warning error in joomdle grouprole component 5 days 10 hours ago #3

  • Antonio Durán
  • Antonio Durán's Avatar
  • Offline
  • Karma: 158
Thanks for the bug report.

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

To fix delete error, edit file: administrator/components/com_grouproles/views/items/view.html.php
Function: addToolbar
Change:
        JToolBarHelper::deleteList('', 'mappings.delete','JTOOLBAR_DELETE');
By:
        JToolBarHelper::deleteList('', 'items.delete','JTOOLBAR_DELETE');
The administrator has disabled public write access.
The following user(s) said Thank You: saman
Cron Job Starts