• Resolved gn4619

    (@gn4619)


    I ran into the following errors with WP 3.9:

    Warning: mysql_query(): Access denied for user ”@’localhost’ (using password: NO) in D:\Mysite\wp-content\plugins\rvg-optimize-database\rvg-optimize-db.php on line 1336

    Warning: mysql_query(): A link to the server could not be established in D:\Mysite\wp-content\plugins\rvg-optimize-database\rvg-optimize-db.php on line 1336

    Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in D:\Mysite\wp-content\plugins\rvg-optimize-database\rvg-optimize-db.php on line 1338

    My site is running on Windows 2008 server.

    Thanks!

    https://wordpress.org/plugins/rvg-optimize-database/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor cageehv

    (@cageehv)

    Hey gn4619,

    That’s really strange…
    Before it reaches line 1336 it already does many database accesses (in the same way). I would expect this error on the first database access.

    Did it work with WP 3.8.3?

    Did you try to deactivate all other plugins for a moment and only run my plugin? (There might be a conflict with another plugin)

    So far no problems with WP 3.9 have been reported.

    Ciao!
    Rolf

    Twig

    (@palpatine1976)

    I’m seeing the same issue in WP3.9/PHP5.5. The tables cannot be selected and so optimizer can’t run. I’ve seen similar issues with several plugins after the upgrade.

    This is why:
    mysql_query() and other old funcs have been deprecated in PHP55/WP3.9

    MySQL in WordPress 3.9

    The fixes are simple – just use mysqli.

    Hope that helps!

    Plugin Contributor cageehv

    (@cageehv)

    Hey Sith,

    Thanks for your useful feedback!

    I didn’t know these issues.

    I fixed them and just released v2.7.8 of my plugin.

    Thanks again!
    Rolf

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘error with WP 3.9’ is closed to new replies.