How To / General

com courseGroup return warning

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 4 months ago - 8 years 4 months ago #1 by saman سامان
com courseGroup return warning was created by saman سامان
hi
i install com course group and when i want define new course group mapping i see this warning:
Warning: Declaration of CoursegroupsModelitem::prepareTable(&$table) should be compatible with Joomla\CMS\MVC\Model\AdminModel::prepareTable($table) in /home/*******/domains/*************/public_html/administrator/components/com_coursegroups/models/item.php on line 17
then i go to item.php and edit line 106.
is it enough or need do other thing?
Last edit: 8 years 4 months ago by saman سامان.

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

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 4 months ago #2 by saman سامان
Replied by saman سامان on topic com courseGroup return warning
another new thing.
when i remove one item from group course mapping list in the main page of that component i give this error:



i have another suggestion for better UX for this component:
is it possible you show what group map to what course in the main page of component? in now i must click on each item to see what course map to this group
look at this pic:

Attachments:

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

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 4 months ago #3 by saman سامان
Replied by saman سامان on topic com courseGroup return warning
i get this Notice in the CB debuger:
Code:
Notice: Only variables should be assigned by reference in /home/*********/domains/*********/public_html/plugins/user/coursegroups/coursegroups.php on line 33 Notice: Only variables should be assigned by reference in /home/*********/domains/*********/public_html/plugins/user/coursegroups/coursegroups.php on line 35 Deprecated: Non-static method CoursegroupsHelper::get_user_groups() should not be called statically in /home/*********/domains/*********/public_html/plugins/user/coursegroups/coursegroups.php on line 40 Notice: Only variables should be assigned by reference in /home/*********/domains/*********/public_html/administrator/components/com_coursegroups/helpers/coursegroups.php on line 88 Deprecated: Non-static method CoursegroupsHelper::get_course_groups() should not be called statically in /home/*********/domains/*********/public_html/plugins/user/coursegroups/coursegroups.php on line 45 Notice: Only variables should be assigned by reference in /home/*********/domains/*********/public_html/administrator/components/com_coursegroups/helpers/coursegroups.php on line 57 Deprecated: Non-static method CoursegroupsHelper::get_course_groups() should not be called statically in /home/*********/domains/*********/public_html/plugins/user/coursegroups/coursegroups.php on line 45 Notice: Only variables should be assigned by reference in /home/*********/domains/*********/public_html/administrator/components/com_coursegroups/helpers/coursegroups.php on line 57 Deprecated: Non-static method CoursegroupsHelper::get_course_groups() should not be called statically in /home/*********/domains/*********/public_html/plugins/user/coursegroups/coursegroups.php on line 45 Notice: Only variables should be assigned by reference in /home/*********/domains/*********/public_html/administrator/components/com_coursegroups/helpers/coursegroups.php on line 57

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

More
8 years 4 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic com courseGroup return warning
Thanks for the bug report. I have sent you an updated package by email. Please test and let me know how it goes.

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

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 4 months ago #5 by saman سامان
Replied by saman سامان on topic com courseGroup return warning
hi
i reply to your mail.

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