AgentPress Listing Search Widget – Catchable Fatal Error
-
Hi All,
I’m getting the following error when using the property search widget on my site to search for Bedrooms (1, 2, 3, 4, or 5+) and when I add the Property ID Numbers to the search widget:
Catchable fatal error: Object of class WP_Error could not be converted to string in /home1/adnoh650/public_html/wp-includes/formatting.php on line 2857
This is the code on line 2857 of formatting.php:
$url = preg_replace('|[^a-z0-9-~+_.?#=!&;,/:%@$\|*\'()\\x80-\\xff]|i', '', $url);
This is the surrounding code:
function esc_url( $url, $protocols = null, $_context = 'display' ) { $original_url = $url; if ( '' == $url ) return $url; $url = preg_replace('|[^a-z0-9-~+_.?#=!&;,/:%@$\|*\'()\\x80-\\xff]|i', '', $url); $strip = array('%0d', '%0a', '%0D', '%0A'); $url = _deep_replace($strip, $url); $url = str_replace(';//', '://', $url);
You can view the error at trypanama.com. Any suggestions on how to fix this error will be greatly appreciated
I also posted to the studiopress forum for help. The thread is located here: https://www.studiopress.com/forums/topic/agentpress-listing-search-widget/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘AgentPress Listing Search Widget – Catchable Fatal Error’ is closed to new replies.