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

    @auckand thank you, your solution worked from me. Editing the plugin did not work.

    Really appreciate both of you for posting here!

    Thanks! Unfortunately the first solution didn’t work for me, although it had done in a previous version, so I had to hide the error reporting.
    Unfortunately, my FoCaL isn’t functioning properly now ??

    change line 928 from

    $query = $wpdb->prepare($query,);

    to

    $query = $wpdb->prepare($query, null);

    as well as what’s suggested by @neoras in comment #1

    hopefully we can see those changes in the next update.

    Thank you!

    Plugin Author Tim Trott

    (@azuliadesigns)

    Sorry for the delay fixing this, been away over Christmas taking some personal time.

    Just uploaded a new version to the repository which addresses this issue as per smiro2000’s suggestion.

    Tim

    azuliadesigns, Thank you!!! And thank you for one of my favorite plugins.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to fix the error: "Missing argument 2 for wpdb::prepare()"’ is closed to new replies.