A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/page.php

Line Number: 161

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/page.php

Line Number: 162

Newsletter

https://faculdadepatosdeminas.edu.br/extensao/newsletter', data: $(this).serialize(), success: function(data){ $("form.form-newsletter .ajaxReturn").html(""); $(".form-newsletter .error").remove(); if(data.success){ $("form.form-newsletter .ajaxReturn").html('
Enviado com sucesso!
'); $('.form-newsletter input').val(''); }else{ $.each(data.errors,function(index,value){ $(".form-newsletter [name="+index+"]").after(""); }); $("form.form-newsletter .ajaxReturn").append('
Erro ao enviar
'); } }, error: function(data){ alert('email nao enviado!'); } }); });