Quantcast
Viewing all articles
Browse latest Browse all 31591

mecanographik on "[Plugin: BP Profile Search] php error (when wp debug mode is TRUE)"

Hi,
Thanks for your awesome plugin.

I've find an php error and fixed it

The error :
Notice: Undefined index: field_1 in /wp-content/plugins/bp-profile-search/bps-searchform.php

on #63 & #64
$_POST[$fname])) $posted = $_POST[$fname];

you must replaced it with :
if (isset($_POST[$fname])) $posted = $_POST[$fname];

(and so on for the others same lines type ...)

Regards,

http://wordpress.org/plugins/bp-profile-search/


Viewing all articles
Browse latest Browse all 31591

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>