My Link Order
[resolved] "Missing argument 2 for wpdb::prepare()" (etc.) appears on page (4 posts)

  1. kristinjanz
    Posted 3 years ago #

    I've been using My Link Order with WordPress for a few years, and I think it's a great plugin. However, I just upgraded to WordPress 3.5, and now I see a strange error message on the main page of my website/blog (http://www.kristinjanz.com). At the top of my outgoing links section on the lower right-hand side (heading: Outward), I see the following message, repeated 4 times:

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/kristinjanz/kristinjanz.com/wp-content/plugins/my-link-order/mylinkorder.php on line 666 and defined in /home/kristinjanz/kristinjanz.com/wp-includes/wp-db.php on line 990

    When I did an internet search for the first part of this message, to see if it was a known problem, I saw it on several different websites, but I couldn't find any information about how to fix it.

    Does anyone know how to make this go away? My computer skills aren't that great, and I have absolutely no idea what the message means.



  2. IndigoJo
    Posted 3 years ago #

    I just filed the same report here and was given a way to edit it to make the problem go away.

    I uploaded the result to this address - you will need to upload it to your plugins directory (your blog's path followed by /wp-content/plugins) and extract it - your web host should provide a file manager for that purpose.


    Hope this helps.


  3. auckand
    Posted 3 years ago #

    I have the same error using the Sharebar plugin. Until the developers update their plugins try this in your function.php

    ini_set( 'display_errors', false );
    error_reporting( 0 );

    It stops error mesages and once the plugin devs update- just remove the code.

    Worked over at http://www.outdoorphotography.co.nz/ I hope this helps

  4. kristinjanz
    Posted 3 years ago #

    Thanks, Matt! Your answer was still over my head (my programming skills are pretty much nonexistent), but my husband the computer scientist could see in your .php file how you had edited the problematic line 666 in the My Link Order code, and make the necessary change for me.

    Problem solved!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic