noelani
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Front-end warning: Missing Argument for wpdbThanks so much, Samuel, well that definitely fixed that particular issue. I turned back on the error reporting and no more warning!
Forum: Fixing WordPress
In reply to: Front-end warning: Missing Argument for wpdbHi Samuel,
Since it states two lines of code in the error message, I’m assuming that’s where the problem is, but again, I’m not a coder, so knowing where the problem is doesn’t help, because I’m lost after that. I spent a couple hours going over it and looking on google for a solution, but I was scared to change anything that didn’t specifically relate to where the problem is. For instance, mine is with a line of code in the theme, so I didn’t want to use a plugin fix for something that effects the theme. Does that make sense?Here are the lines of code mentioned in the error message:
in wp-db.php:function prepare( $query, $args ) {and in the theme in functions/custom-functions.php
$attachment = $wpdb->get_col($wpdb->prepare("SELECT ID FROM " . $prefix . "posts" . " WHERE guid='" . $image_url . "';"));If you could help I would greatly appreciate it.
Forum: Fixing WordPress
In reply to: Front-end warning: Missing Argument for wpdbIf you have a good web hosting company one of their technical support technicians might help you out. My sites are hosted through name.com and although they do not and are not required to offer third party support, they’ve helped me with issues from time to time.
Forum: Fixing WordPress
In reply to: Front-end warning: Missing Argument for wpdbNo, it’s not from there. I actually just got a response from the site where I purchased it from. The seller has disappeared, removed his website and deleted all his social network pages. They are going to rectify the situation for me. So maybe I can just scrap this one and get a new theme. It’s not worth the headache anymore.
Forum: Fixing WordPress
In reply to: Front-end warning: Missing Argument for wpdbI tried because his widgets kept breaking, but he never responded. Now he has disappeared and has no forwarding information to contact. Can I solve the issue myself with the information in the link?