Sphere Related Content coding mishap
-
So every now and then I’ll come across plugins that are just downright retarded with what they’re doing with their coding. Today it was Sphere Related Content. A wordpress site I was looking over for someone was white screening. An strace revealed the following query causing the problem:
“LECT post_content FROM $wpdb->posts WHERE ID = ‘$id'”
I’ve never heard of LECT before in mysql. Looks like someone forgot to test their plugin before they updated it. If you’re recently getting a white screen on your wordpress install and are using this plugin, I’d recommend deactivating it by removing it from the active plugins list in wp_options in the db. It’ll look something like this:
i:8;s:49:”sphere-related-content/sphere-related-content.php”;
The topic ‘Sphere Related Content coding mishap’ is closed to new replies.