Viewing 15 replies - 1 through 15 (of 18 total)
  • Having this problem too. Also getting an error message on the download counter page
    Warning: Missing argument 2 for wpdb::prepare(), wp-content/plugins/electric-studio-download-counter/lib/sqlfunctions.php on line 71 and defined in /public_html/wp-includes/wp-db.php on line 990

    Same problem; Insert image into a post will not load the media dialog box with this plugin activated.

    Also get in the plugin menu :

    Warning: Missing argument 2 for wpdb::prepare(), called in […]/wp-content/plugins/electric-studio-download-counter/lib/sqlfunctions.php on line 71 and defined in […]/wp-includes/wp-db.php on line 990

    Hi, same problem,

    i have upgraded wordpress version to 3.5 in my site https://www.g-sei.org but the Download counter show this error:

    Warning: Missing argument 2 for wpdb::prepare(), called in /var/www/vhosts/g-sei.org/httpdocs/wp-content/plugins/electric-studio-download-counter/lib/sqlfunctions.php on line 71 and defined in /var/www/vhosts/g-sei.org/httpdocs/wp-includes/wp-db.php on line 990

    in backend option and in frontend widget (i have removed it).

    Download counter not compatible with wordpress 3.5?

    Best regards
    LL

    Thread Starter Ervin Domonkos

    (@arachnoidea)

    I think there was a change in the wpdb::prepare() function: in earlier WP versions the 2nd argument was optional, and from 3.5 it became obligatory. That’s why it gives you that error message.

    This way, all the plugin developers who use the prepare() function and did not use its 2nd argument will have to make some tiny changes to their plugins…

    Hey guys,

    I’ve been assigned to repair this. Hold on, should have overhauled this by the end of today UK time. Unless we all die due to world ending and whatnot.

    So bear with me.

    Gabor

    Ladies and Gentlemen,

    I give you version 2.0. Hopefully it will solve all the problems you’re having. Please, please backup your database before updating though!

    Best wishes for the Christmas period!

    Gabor

    Hi Gabor,

    I just updated the plugin to version 2.0 in my WP 3.5 installation. And it didn’t work. After activating the plugin I only get a white page in the admin backend where the dashboard should be. So the download counter plugin broke everything and the admin backend is unuseable now. Just for your information.

    In my JavaScript console there is an error message reported, regarding this:

    Uncaught Error: Syntax error, unrecognized expression: ‘a[href$=”.pdf”],a[href$=”.doc”],a[href$=”.xls”],a[href$=”.docx”],a[href$=”.xlsx”],a[href$=”.csv”]’

    in load-scripts.php line 2

    ??

    Regards,

    Dennis

    Hi Dennis,

    Yes, I see. Repaired it, 2.0.1 is on its way. Sorry.

    G

    It still does not work, it is not counting anything

    Hi violablu,

    Does it give you any errors in the console? Do you have javascript enabled? Is the filetype you’re trying to count added in the list of extensions?

    Gabor

    It worked till I upgraded wordpress. The count never goes up now. We have been testing it…. No errors, yes java is enabled, yes the file type is added. Your upgrade fixed a few of the problems I was having. Just no count now =(

    Hi,
    I confirm it does not count anything anymore, since 2.0. (plug in frozen) et 2.0.1 (works but doesn’t count) ??
    Marie

    I’ll look into it guys. Sorry about that. It passed my tests. I’ll get back to you shortly.

    G

    With lastest version the plugin working properly (top download in my https://www.g-sei.org/)

    ??

    Bye!
    LL

    Hi people,

    2.0.2 should fix the brokenness. If it’s still not working, there’s a conflict with how jQuery is handled with some other plugin. I’m following WordPress way of handling files, so I’m happy to point fingers at the other developers :).

    Also, ajax is hard, and browsers are interesting.

    Hope this helps,

    Gabor

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘WP Editor broken under 3.5’ is closed to new replies.