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

  1. azn137
    Posted 3 years 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.


  2. Ivan Kristianto
    Plugin Author

    Posted 3 years 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.


  3. azn137
    Posted 3 years 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
    Posted 2 years 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!

    Posted 2 years 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

  • DB Cache Reloaded Fix
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic