All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Please read about the changes to BoldMinded add-on licensing.

Ticket: AJAX error - The response was not a valid JSON object.

Status Resolved
Add-on / Version Custom System Messages
Severity Blocker
EE Version 16

Michael Sibley

May 31, 2012

Hello,

I’m trying to upgrade a site to the latest version of CSM to enable ajax system messages.  I have tried your example template code but just get ‘AJAX error - The response was not a valid JSON object.’ returned.  I’m not sure if it is a clash with another add-on as I do have User and Carthrob installed but if you could give me any pointers of how to troubleshoot this I’d be most grateful.

Mike

EE. 2.4
CSM 2.4

#1

BoldMinded (Brian)

Hi Michael, what sort of form are you attempting this with?

#2

Michael Sibley

Hello. I have just been trying to get it working with login form in the the example template you posted but eventually I would like to use it across the site.

#3

BoldMinded (Brian)

Can you share a link to the form?

#4

BoldMinded (Brian)

You can email it to me, litzinger at gmail

#5

Michael Sibley

OK great, I’ll send it now. I am actually developing the site on a local server so I’ve installed the extension on a very similar environment online which demonstrates the problem.

#6

BoldMinded (Brian)

Looking at the ajax response shows the error: No templates defined for the Custom System Messages extension settings, or the defined templates can not be found.

Looks like you haven’t configured CSM.

#7

Michael Sibley

I’m an idiot - I enabled ajax responses but didn’t get any further. Thanks for getting back to me so quickly.

#8

BoldMinded (Brian)

No worries 😊

Login to reply