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

Error Insulation
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Error Insulation

Error Insulation 4 years, 8 months ago #33964

Please how to fix this error
---------------------------------------

Re: Error Insulation 4 years, 8 months ago #33965

Serialization of 'SimpleXMLElement' is not allowed

Re: Error Insulation 4 years, 8 months ago #34038

Dear kldany

To fix this issue, 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 & regards!
  • Page:
  • 1
Time to create page: 0.42 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.

Suggested Posts

(/)
Result not found!

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