• Hello.
    Can please somebody help me with this. db.php is in wp-content and db-config.php is in main directory. They are configured and working. Everything is fine except every time site is loaded debug.log says:
    PHP Notice: Undefined variable: write in /var/www/wp-content/db.php on line 555
    Also give that stack trace :

    [19-Sep-2013 19:41:37 UTC] PHP Stack trace:
    [19-Sep-2013 19:41:37 UTC] PHP   1. {main}() /var/www/wp-admin/admin-ajax.php:0
    [19-Sep-2013 19:41:37 UTC] PHP   2. require_once() /var/www/wp-admin/admin-ajax.php:20
    [19-Sep-2013 19:41:37 UTC] PHP   3. require_once() /var/www/wp-load.php:29
    [19-Sep-2013 19:41:37 UTC] PHP   4. require_once() /var/www/wp-config.php:106
    [19-Sep-2013 19:41:37 UTC] PHP   5. wp_not_installed() /var/www/wp-settings.php:102
    [19-Sep-2013 19:41:37 UTC] PHP   6. is_blog_installed() /var/www/wp-includes/load.php:429
    [19-Sep-2013 19:41:37 UTC] PHP   7. wp_load_alloptions() /var/www/wp-includes/functions.php:1115
    [19-Sep-2013 19:41:37 UTC] PHP   8. wpdb->get_results() /var/www/wp-includes/option.php:145
    [19-Sep-2013 19:41:37 UTC] PHP   9. hyperdb->query() /var/www/wp-includes/wp-db.php:1521
    [19-Sep-2013 19:41:37 UTC] PHP  10. hyperdb->db_connect() /var/www/wp-content/db.php:753

    [Moderator Note: Please post log files between backticks or use the code button.]

    Please tell me how to fix it ? My debug.log going 2GB for 20mins.
    Regards.

    https://www.ads-software.com/plugins/hyperdb/

  • The topic ‘Undefined variable: write’ is closed to new replies.