wordpress 3.5 – How do I hide the php error code?
-
Hi, as others have said; I get this message at the top of my posts –
Warning: Missing argument 2 for wpdb::prepare(), called in /home/jamflex/psycholocrazy.com/wp-content/plugins/sharebar/sharebar.php on line 112 and defined in /home/jamflex/psycholocrazy.com/wp-includes/wp-db.php on line 990
I am not too concerned with actually adding the second argument as that sharebar.php file doesn’t seem to mention any of this at line 112.
I would just like to hide the error code, but I don’t have WordPress 3.5 on my computer. I just updated it online. I understand that the code is –
@ini_set(‘display_errors’, 0);
I have a wp-config.php notepad file on my computer but the associated files are wordpress 3.2 so that’s probably why it doesn’t work.
Can anyone off me a quick simple IDIOTS guide to hiding the above code please? It’s very important I keep the sharebar plugin.
Here is an example of the error – https://www.psycholocrazy.com/6-ways-future-technology-amaze
Thanks in advance.
- The topic ‘wordpress 3.5 – How do I hide the php error code?’ is closed to new replies.