• Hi,

    I am seeing several PHP warnings in my error logs for this plugin. Here is a stack trace:

    E_WARNING: mysqli_real_escape_string() expects parameter 2 to be string, array given
    in mysqli_real_escape_string called at /var/www/vhosts/site.test/httpdocs/wp-includes/wp-db.php (1102)
    in wpdb::_real_escape called at /var/www/vhosts/site.test/httpdocs/wp-includes/wp-db.php (1186)
    in wpdb::escape_by_ref called at ? (?)
    in array_walk called at /var/www/vhosts/site.test/httpdocs/wp-includes/wp-db.php (1302)
    in wpdb::prepare called at /var/www/vhosts/site.test/httpdocs/wp-includes/wp-db.php (2093)
    in wpdb::_insert_replace_helper called at /var/www/vhosts/site.test/httpdocs/wp-includes/wp-db.php (2015)
    in wpdb::insert called at /var/www/vhosts/site.test/httpdocs/wp-content/plugins/stream/classes/class-db-driver-wpdb.php (96)
    in WP_Stream\DB_Driver_WPDB::insert_meta called at /var/www/vhosts/site.test/httpdocs/wp-content/plugins/stream/classes/class-db-driver-wpdb.php (72)
    in WP_Stream\DB_Driver_WPDB::insert_record called at /var/www/vhosts/site.test/httpdocs/wp-content/plugins/stream/classes/class-db.php (62)
    in WP_Stream\DB::insert called at /var/www/vhosts/site.test/httpdocs/wp-content/plugins/stream/classes/class-log.php (129)
    in WP_Stream\Log::log called at ? (?)
    in call_user_func_array called at /var/www/vhosts/site.test/httpdocs/wp-content/plugins/stream/classes/class-connector.php (129)
    in WP_Stream\Connector::log called at /var/www/vhosts/site.test/httpdocs/wp-content/plugins/stream/connectors/class-connector-widgets.php (606)
    in WP_Stream\Connector_Widgets::callback_updated_option called at ? (?)
    in call_user_func_array called at /var/www/vhosts/site.test/httpdocs/wp-content/plugins/stream/classes/class-connector.php (78)
    in WP_Stream\Connector::callback called at /var/www/vhosts/site.test/httpdocs/wp-includes/class-wp-hook.php (286)
    in WP_Hook::apply_filters called at /var/www/vhosts/site.test/httpdocs/wp-includes/class-wp-hook.php (310)
    in WP_Hook::do_action called at /var/www/vhosts/site.test/httpdocs/wp-includes/plugin.php (453)
    in do_action called at /var/www/vhosts/site.test/httpdocs/wp-includes/option.php (412)
    in update_option called at /var/www/vhosts/site.test/httpdocs/wp-includes/class-wp-widget.php (553)
    
  • The topic ‘PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string’ is closed to new replies.