WordPress.org

Ready to get started?Download WordPress

Forums

DB Cache Reloaded Fix
[resolved] Error wpdb::escape_by_ref() in db-module-wrapper.php on line 450 (5 posts)

  1. azn137
    Member
    Posted 1 year ago #

    My Apache error log is filled with errors that look like this:

    [Fri Oct 05 14:49:14 2012] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: stderr: PHP Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference, value given in [path to wordpress]/wp-content/plugins/db-cache-reloaded-fix/db-module-wrapper.php on line 450

    Please advise on how to fix this.

    http://wordpress.org/extend/plugins/db-cache-reloaded-fix/

  2. Ivan Kristianto
    Member
    Plugin Author

    Posted 1 year ago #

    Please disable the wrapper mode and see if the problem is still persist.
    what is your wordpress version?
    i have check the compatibility with the latest wordpress, ans still fine.

    Thanks
    Ivan

  3. azn137
    Member
    Posted 1 year ago #

    Sorry, I forgot I posted this. Yes, disabling the wrapper mode did fix this problem.

    Thanks so much for checking.

    I have the latest version of WordPress and W3TC.

  4. dima_1st
    Member
    Posted 1 year ago #

    I have same problem.

    PHP version 5.3.x
    WordPress 3.4.2

    1. I think that it is usial problem for this plugin, try to find "PHP Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference" in google...

    2. All method in db-module, pass parameters by value (get_row, ...) but

    function escape_by_ref( &$string )

    by reference!

  5. SUISSAC
    Member
    Posted 1 year ago #

    Also i have the problem with this (db-cache-reloaded-fix/db-module.php on line 396). I have the wrapper mode disabled!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic