MySQL Forums
Forum List  »  PHP

Re: PHP Warning: mysqli_real_escape_string() expects exactly 2 parameters, 1 given in /home/vijayandclinton/public_html/wp-content/plugins/gift- registry/php/paypal_response.php on line 25
Posted by: Peter Brawley
Date: February 13, 2018 10:20PM

That's a bug in your paypal_response.php. As the PHP manual makes clear, the first param to mysqli_real_escape_string() has to be a valid MySQL connection object.

Where that object might be hiding in WP code, I'm sorry I've not the foggiest.

Options: ReplyQuote


Subject
Written By
Posted
Re: PHP Warning: mysqli_real_escape_string() expects exactly 2 parameters, 1 given in /home/vijayandclinton/public_html/wp-content/plugins/gift- registry/php/paypal_response.php on line 25
February 13, 2018 10:20PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.