Thursday 15 August 2013

Undefined Variable in template-contact.php on line 92 -



Undefined Variable in template-contact.php on line 92 -

i have wordpress website, , getting error message above form on contact page.

error message reads:

notice: undefined variable: success in /home/crea6303/public_html/westafricanplumbing.com/wp-content/themes/waseps-custom/template-contact.php on line 92

template-contact.php code is:

<?php if($success) { echo " <div class=\"info-message\" style=\"background-color: #75a226;\"> <a href=\"#\" class=\"close-info\"><i class=\"fa fa-times\"></i></a> <p><strong>".__('success:', dat_name)."</strong>".__('the message has been sent', dat_name)."</p> </div>"; } ?>

i don't have clue how prepare this...can help?

thank kindly ferg

variables undefined

No comments:

Post a Comment