Good vpemeni days, you must add fields to JS Dating Search. Help to correct error in line 133
Fatal error: Cannot redeclare modcommunitydatingHelper::createDatingModuleCookie() in /home/design-web/communityok.designer-web.ru/docs/modules/mod_community_dating/helper.php on line 133.
public function getSearchForm(){
}
public static function createDatingModuleCookie($data = array(), $fieldCode = '', $cookieVar = 'CommunityModuleList')
{
$app = JFactory::getApplication();
$jinput = $app->input;
$jcookie = $jinput->cookie;
foreach ($data as $key => $value) {
if ($value == $fieldCode) {
$index = filter_var($key, FILTER_SANITIZE_NUMBER_INT);
if (isset($data) && $data) {
$jcookie->set($cookieVar, $data, 0);
}
// set Age To cookie
if (isset($data) && $data) {
$jcookie->set($cookieVar.'To', $data, 0);
}
}
}
return true;
}
line 133 public function createDatingModuleCookie($data = array(), $fieldCode = '', $cookieVar = 'CommunityModuleGender')
{
$app = JFactory::getApplication();
$jinput = $app->input;
$jcookie = $jinput->cookie;
foreach ($data as $key => $value) {
if ($value == $fieldCode) {
$index = filter_var($key, FILTER_SANITIZE_NUMBER_INT);
if (isset($data) && $data) {
$jcookie->set($cookieVar, $data, 0);
}
// set Age To cookie
if (isset($data) && $data) {
$jcookie->set($cookieVar.'To', $data, 0);
}
}
}
return true;
}
}
}
HI, Ruslan.
Thank you for contacting us.
It's seems that you do not own any JomSocial license. Please, make sure that you log in using account that own it.
If you use nulled version of JomSocial, please, consider to purchase a license to get support and upgrade benefits.
HI.
License number is valid. But it belongs to different user.
Please, make sure you log in with user account that owns the license.
JS Dating Search
Expires: In 363 days, 22 hours, 58 minutes
License Number: 100038835
Domain would you like us to support
communityok.designer-web.ru/index.php/ru/
HI.
Yes, everything is correct.
But account RUSLAN is not license owner, thus I can't verify your user.
Also note that you may only post in this category - that's also due lack of license with current user.
Please, log in as license owner, that's the only way we could provide you support.