Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

SJ WaveNews and «Serialization of 'JXMLElement' is not allowed» Error on Joomla 3.4.8
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: SJ WaveNews and «Serialization of 'JXMLElement' is not allowed» Error on Joomla 3.4.8

SJ WaveNews and «Serialization of 'JXMLElement' is not allowed» Error on Joomla 3.4.8 8 years, 2 months ago #26777

I am tring to make a standart form as it on demo page but eveytime when I am trying to call "SJ Contact Ajax" from the article I am getting this error: Serialization of 'JXMLElement' is not allowed
Could you explain for me how to fix it?..
Attachments:
The topic has been locked.

Re: SJ WaveNews and «Serialization of 'JXMLElement' is not allowed» Error on Joomla 3.4.8 8 years, 2 months ago #26792

  • thuyltt
Dear tr_sa,
Please go to modules\mod_sj_contact_ajax\mod_sj_contact_ajax.php find code:

$layout = $params->get('layout', 'default');
$cacheid = md5(serialize(array($layout, $module->id)));
$cacheparams = new stdClass;
$cacheparams->cachemode = 'id';
$cacheparams->class = 'ContactAjax';
$cacheparams->method = 'getList';
$cacheparams->methodparams = $params;
$cacheparams->modeparams = $cacheid;
$list = JModuleHelper::moduleCache($module, $params, $cacheparams);

=> edit to:

$layout = $params->get('layout', 'default');
//$cacheid = md5(serialize(array($layout, $module->id)));
//$cacheparams = new stdClass;
//$cacheparams->cachemode = 'id';
//$cacheparams->class = 'ContactAjax';
//$cacheparams->method = 'getList';
//$cacheparams->methodparams = $params;
//$cacheparams->modeparams = $cacheid;
$list = ContactAjax::getList($params);

Thanks.
The topic has been locked.

Re: SJ WaveNews and «Serialization of 'JXMLElement' is not allowed» Error on Joomla 3.4.8 8 years, 2 months ago #27011

Thank you.
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.20 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes