-
AuthorPosts
-
marceltj Friend
marceltj
- Join date:
- February 2012
- Posts:
- 41
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
September 18, 2012 at 8:49 pm #180791Get the following errors on Job Board admin panel After upgrading to v1.02
Warning: Creating default object from empty value in /homepages/23/d386917418/htdocs/pms/administrator/components/com_jajobboard/models/jajobboard.php on line 175
Warning: Creating default object from empty value in /homepages/23/d386917418/htdocs/pms/administrator/components/com_jajobboard/models/jajobboard.php on line 177
Warning: Creating default object from empty value in /homepages/23/d386917418/htdocs/pms/administrator/components/com_jajobboard/models/jajobboard.php on line 179
Warning: Creating default object from empty value in /homepages/23/d386917418/htdocs/pms/administrator/components/com_jajobboard/models/jajobboard.php on line 181
Warning: Creating default object from empty value in /homepages/23/d386917418/htdocs/pms/administrator/components/com_jajobboard/models/jajobboard.php on line 183
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
September 19, 2012 at 6:41 am #467475Hello marceltj,
To resolve this issue, please open the file:
administrator/components/com_jajobboard/models/jajobboard.phpand then, go to the line 175, replace the code snippet:
[PHP]
$arr_option[0]->value = ”;
$arr_option[0]->text = ‘——-‘ . JText::_(‘SELECT_SEARCH_TYPE’) . ‘——-‘;
$arr_option[1]->value = ‘jajobs’;
$arr_option[1]->text = JText::_(‘JOBS’);
$arr_option[2]->value = ‘jaemployers’;
$arr_option[2]->text = JText::_(‘EMPLOYERS’);
$arr_option[3]->value = ‘jacandidates’;
$arr_option[3]->text = JText::_(‘JOB_SEEKERS’);
$arr_option[4]->value = ‘jatransactions’;
$arr_option[4]->text = JText::_(‘TRANSACTIONS’);
$obj_Search_Type = JHTML::_(‘select.genericlist’, $arr_option, ‘view’, ‘class=”inputbox” size=”1″‘, ‘value’, ‘text’, ”);[/PHP]with this one:
[PHP]$arr_option[0] = new stdClass();
$arr_option[0]->value = ”;
$arr_option[0]->text = ‘——-‘ . JText::_(‘SELECT_SEARCH_TYPE’) . ‘——-‘;
$arr_option[1] = new stdClass();
$arr_option[1]->value = ‘jajobs’;
$arr_option[1]->text = JText::_(‘JOBS’);
$arr_option[2] = new stdClass();
$arr_option[2]->value = ‘jaemployers’;
$arr_option[2]->text = JText::_(‘EMPLOYERS’);
$arr_option[3] = new stdClass();
$arr_option[3]->value = ‘jacandidates’;
$arr_option[3]->text = JText::_(‘JOB_SEEKERS’);
$arr_option[4] = new stdClass();
$arr_option[4]->value = ‘jatransactions’;
$arr_option[4]->text = JText::_(‘TRANSACTIONS’);
$obj_Search_Type = JHTML::_(‘select.genericlist’, $arr_option, ‘view’, ‘class=”inputbox” size=”1″‘, ‘value’, ‘text’, ”);[/PHP] -
AuthorPosts
This topic contains 2 replies, has 2 voices, and was last updated by Thanh Nguyen Viet 12 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum