• Resolved kristinjanz

    (@kristinjanz)


    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 (https://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.

    Thanks!

    https://www.ads-software.com/extend/plugins/my-link-order/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    https://www.blogistan.co.uk/my-link-order-3.3.2.1.zip

    Hope this helps.

    Matt

    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 https://www.outdoorphotography.co.nz/ I hope this helps

    Thread Starter kristinjanz

    (@kristinjanz)

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘"Missing argument 2 for wpdb::prepare()" (etc.) appears on page’ is closed to new replies.