Plugin Support
Nick C
(@modernnerd)
Hi, @tomchubb.
Genesis Simple Hooks doesn’t appear to use mysql_real_escape_string: https://github.com/studiopress/genesis-simple-hooks/search?q=mysql_real_escape_string&unscoped_q=mysql_real_escape_string
You could check the plugin page at Genesis -> Simple Hooks in case someone has added that function in the code snippets there? You could then update the code to use the new function you mentioned.
Hi Nick – I actually realised this just after I posted but don’t know how to delete.
I created the post after seeing the fatal error in my error log. Can I delete this somehow?
Plugin Support
Nick C
(@modernnerd)
Thanks for confirming, Tom. I’ll mark it as resolved. (I don’t have a way to delete the topic, but it could be useful for others to know that errors coming from the plugin can come from code added in the admin area rather than plugin code.)
Sorry for the inconvenience. I can now confirm it was my own code that I’d added to one of the hooks in there.
Plugin Support
Nick C
(@modernnerd)
No problem at all! Thanks for letting us know.