1. Jacob
  2. CMC - Mailchimp for Joomla!
  3. Tuesday, 22 September 2020
  4.  Subscribe via email
Facing an issue with CMC that when someone tried to signup for newsletter on the site, it keeps waiting for response.

Did check the network tab and it makes an ajax call to :
/component/cmc/?format=raw&task=subscription.exist

and that throws error:
The most recent request was denied because it had an invalid security token. Please refresh the page and try again.

Narrowed it down to :
public_html/components/com_cmc/controllers/subscription.raw.php
and if i comment the session check on exist() & save() functions, the newsletter subscribe works perfectly.
-----------------------

public function exist()
{
//JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));

-----------------------

Is there a way to fix the issue without modifying the core component.
Responses (0)


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Powered by EasyDiscuss for Joomla!